Commit 6ea7369
committed
Adjust bounds on from_raw_rgb
These new bounds ensure that only our own pixel types can be used. That
prepares changing our approach of algorithms such that we can optimize
for individual cases without falling prey to needs for specialization.
More context can be found here:
<#2596 (comment)>1 parent dd60a60 commit 6ea7369
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1464 | 1464 | | |
1465 | 1465 | | |
1466 | 1466 | | |
1467 | | - | |
1468 | | - | |
1469 | | - | |
| 1467 | + | |
| 1468 | + | |
1470 | 1469 | | |
1471 | 1470 | | |
1472 | 1471 | | |
| |||
1491 | 1490 | | |
1492 | 1491 | | |
1493 | 1492 | | |
1494 | | - | |
1495 | | - | |
1496 | | - | |
| 1493 | + | |
| 1494 | + | |
1497 | 1495 | | |
1498 | 1496 | | |
1499 | 1497 | | |
| |||
0 commit comments