Skip to content

Commit c380ff5

Browse files
committed
Silence sdl2_gfx warning
1 parent f25536c commit c380ff5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gfx/drivers/sdl2_gfx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ static bool sdl2_gfx_set_shader(void *data,
984984
return false;
985985
}
986986

987-
#ifdef HAVE_GFX_WIDGETS
987+
#if defined(HAVE_GFX_WIDGETS) && SDL_VERSION_ATLEAST(2, 0, 18)
988988
static bool sdl2_gfx_widgets_enabled(void *data) { (void)data; return true; }
989989
#endif
990990

0 commit comments

Comments
 (0)