summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/draw13.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-02-16 17:21:32 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-02-16 17:21:32 +0100
commite1ace736267d354caa3c9e1ff844bdc88d645864 (patch)
treef5e686f4c5f8030249514d024b7510fda2ec5586 /src/osd/modules/render/draw13.cpp
parentc16d050d54b23309613f05868e23e2ffdcbcb27e (diff)
opengl as requirement (nw)
Diffstat (limited to 'src/osd/modules/render/draw13.cpp')
-rw-r--r--src/osd/modules/render/draw13.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/osd/modules/render/draw13.cpp b/src/osd/modules/render/draw13.cpp
index 320cc9f3a62..623840525ad 100644
--- a/src/osd/modules/render/draw13.cpp
+++ b/src/osd/modules/render/draw13.cpp
@@ -546,12 +546,8 @@ 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;