mirror of
https://github.com/holub/mame
synced 2025-04-26 02:07:14 +03:00
Merge pull request #85 from Tarnyko/master
Do not check gl_lib() without OpenGL support [Tarnyko]
This commit is contained in:
commit
354ca593a8
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user