summaryrefslogtreecommitdiff
path: root/src/ui/labelwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-12-25 06:42:56 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-12-25 06:42:56 +0200
commite6a1ff50654f251d6f7b495e46d78d48a0f2a754 (patch)
tree0e0e45a486ef1521b4345197af1e6311ae82584a /src/ui/labelwidget.c
parentf4650ecca043b630259470f34deed100b66929c6 (diff)
SDL line drawing regression was fixed in 2.0.18
Diffstat (limited to 'src/ui/labelwidget.c')
-rw-r--r--src/ui/labelwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/labelwidget.c b/src/ui/labelwidget.c
index 4ace6204..446cdc8a 100644
--- a/src/ui/labelwidget.c
+++ b/src/ui/labelwidget.c
@@ -349,7 +349,7 @@ static void draw_LabelWidget_(const iLabelWidget *d) {
349 bottomRight_Rect(frameRect), 349 bottomRight_Rect(frameRect),
350 bottomLeft_Rect(frameRect) 350 bottomLeft_Rect(frameRect)
351 }; 351 };
352#if SDL_VERSION_ATLEAST(2, 0, 16) 352#if SDL_COMPILEDVERSION == SDL_VERSIONNUM(2, 0, 16)
353 if (isOpenGLRenderer_Window()) { 353 if (isOpenGLRenderer_Window()) {
354 /* A very curious regression in SDL 2.0.16. */ 354 /* A very curious regression in SDL 2.0.16. */
355 points[3].x--; 355 points[3].x--;