Commit f2798f9
committed
Make rectangle rendering pixel-perfect
Offsetting two of the borders renders all of the corners (previously,
the top-left pixel was left out) and ensures that semitransparent pixels
are not double-rendered.
Pixel-perfection still depends on drivers not stuffing up line
rendering; 0.5px should probably be added to all coordinates at some
point.1 parent fdd7f25 commit f2798f9
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
322 | | - | |
| 321 | + | |
| 322 | + | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| |||
0 commit comments