summaryrefslogtreecommitdiffstats
path: root/modules/openxr/extensions/openxr_opengl_extension.cpp
diff options
context:
space:
mode:
authorDavid Giardi <david.giardi.eng@gmail.com>2023-04-16 14:15:53 +0200
committerDavid Giardi <david.giardi.eng@gmail.com>2023-04-17 20:23:03 +0200
commit2ef20045b1282369585c3395ff9f9ae418394817 (patch)
tree6c9d0a234a6afd03b5b143f0addd09cd8b5c6ec4 /modules/openxr/extensions/openxr_opengl_extension.cpp
parenta7276f1ce0c2911216a2c4718efddab98ddffd8f (diff)
downloadredot-engine-2ef20045b1282369585c3395ff9f9ae418394817.tar.gz
Fix blurry borders on antialiased FlatStyleBox
This is a fix of the antialiasing logic of FlatStyleBox. It is now possible to have smooth rounded corners while keeping the edges sharp on the pixels. The antialiasing gradient positioning is ajusted so that the "hard" border corresponds to the middle of that gradient instead of one end. Checked against rendering of rounded rectangles in a vector graphics software.
Diffstat (limited to 'modules/openxr/extensions/openxr_opengl_extension.cpp')
0 files changed, 0 insertions, 0 deletions