File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -167,14 +167,6 @@ static uint32_t _al_ogl_version(void)
167
167
168
168
169
169
170
- static bool _al_ogl_version_3_only (int flags )
171
- {
172
- const int mask = ALLEGRO_OPENGL_3_0 | ALLEGRO_OPENGL_FORWARD_COMPATIBLE ;
173
- return (flags & mask ) == mask ;
174
- }
175
-
176
-
177
-
178
170
/* print_extensions:
179
171
* Given a string containing extensions (i.e. a NULL terminated string where
180
172
* each extension are separated by a space and which names do not contain any
Original file line number Diff line number Diff line change @@ -379,6 +379,7 @@ static ALLEGRO_KEYBOARD *sdl_get_keyboard(void)
379
379
380
380
static bool sdl_set_keyboard_leds (int leds )
381
381
{
382
+ (void )leds ;
382
383
return false;
383
384
}
384
385
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ ALLEGRO_DEBUG_CHANNEL("SDL")
21
21
22
22
static ALLEGRO_SYSTEM_INTERFACE * vt ;
23
23
24
+ #ifdef DEBUGMODE
24
25
#define _E (x ) if (type == x) return #x;
25
26
static char const * event_name (int type )
26
27
{
@@ -68,6 +69,7 @@ static char const *event_name(int type)
68
69
return "(unknown )";
69
70
}
70
71
#undef _E
72
+ #endif
71
73
72
74
static void sdl_heartbeat (void )
73
75
{
You can’t perform that action at this time.
0 commit comments