diff options
Diffstat (limited to 'src/osd/sdl/draw13.c')
-rw-r--r-- | src/osd/sdl/draw13.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osd/sdl/draw13.c b/src/osd/sdl/draw13.c index 028c357a284..01dc42c43e6 100644 --- a/src/osd/sdl/draw13.c +++ b/src/osd/sdl/draw13.c @@ -479,8 +479,12 @@ int drawsdl2_init(running_machine &machine, sdl_draw_info *callbacks) expand_copy_info(blit_info_default); +#if USE_OPENGL // Load the GL library now - else MT will fail stemp = downcast<sdl_options &>(machine.options()).gl_lib(); +#else + stemp = NULL; +#endif if (stemp != NULL && strcmp(stemp, SDLOPTVAL_AUTO) == 0) stemp = NULL; |