summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/draw13.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/sdl/draw13.c')
-rw-r--r--src/osd/sdl/draw13.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/sdl/draw13.c b/src/osd/sdl/draw13.c
index be73eeb742b..71129e0cdc0 100644
--- a/src/osd/sdl/draw13.c
+++ b/src/osd/sdl/draw13.c
@@ -506,7 +506,7 @@ int draw13_init(running_machine &machine, sdl_draw_info *callbacks)
// Load the GL library now - else MT will fail
- stemp = options_get_string(&machine.options(), SDLOPTION_GL_LIB);
+ stemp = downcast<sdl_options &>(machine.options()).gl_lib();
if (stemp != NULL && strcmp(stemp, SDLOPTVAL_AUTO) == 0)
stemp = NULL;