diff options
author | 2016-02-16 18:00:19 +0100 | |
---|---|---|
committer | 2016-02-16 18:00:19 +0100 | |
commit | 38e054c76552c1b4c1598a489b4bacf614f0949d (patch) | |
tree | ce3ecb6be5947909ce8b83c7632d34eb69d1f7ac /src/osd/modules/render/draw13.cpp | |
parent | 9eb2734495cda6ff0391f317ca2565b421476738 (diff) |
placed back OPENGL check since GL is not same as GLES (nw)
Diffstat (limited to 'src/osd/modules/render/draw13.cpp')
-rw-r--r-- | src/osd/modules/render/draw13.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osd/modules/render/draw13.cpp b/src/osd/modules/render/draw13.cpp index 623840525ad..320cc9f3a62 100644 --- a/src/osd/modules/render/draw13.cpp +++ b/src/osd/modules/render/draw13.cpp @@ -546,8 +546,12 @@ int drawsdl2_init(running_machine &machine, osd_draw_callbacks *callbacks) osd_printf_verbose("Using SDL native texturing driver (SDL 2.0+)\n"); +#if USE_OPENGL // Load the GL library now - else MT will fail const char *stemp = downcast<sdl_options &>(machine.options()).gl_lib(); +#else + const char *stemp = NULL; +#endif if (stemp != NULL && strcmp(stemp, OSDOPTVAL_AUTO) == 0) stemp = NULL; |