Commit 42456ee
committed
GL: try to fix v210 shader
refer to GH-359
It is expected that the value should been slightly above a pixel index,
eg. 0.0001 for first and 1919.0001 for the last in FHD.
However, using round (but not floor!) before converting the value to
int seem to help, which would imply that the actual pixel value might
have fallen below the actual pixel value. But in that case, replacing
0.4999 for 0.5 should not have helped, but it did (reverting the commit
c243789).1 parent 63339e8 commit 42456ee
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
0 commit comments