mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 22:23:07 +00:00
bdaedb601c
OpenGL uses the diamond exit rule to rasterize lines. If we don't shift the points down and to the right by 0.5, the line can sometimes miss a pixel when it shouldn't. The final fragment of a line isn't drawn. By drawing the lines clockwise, we can avoid a missing pixel in the rectangle. See section 3.4.1 in the OpenGL 1.5 specification. Fixes #32279 |
||
---|---|---|
.. | ||
alsa | ||
alsamidi | ||
convex_decomp | ||
coreaudio | ||
coremidi | ||
dummy | ||
gl_context | ||
gles2 | ||
gles3 | ||
png | ||
pulseaudio | ||
unix | ||
wasapi | ||
windows | ||
winmidi | ||
xaudio2 | ||
register_driver_types.cpp | ||
register_driver_types.h | ||
SCsub |