mirror of
https://github.com/holub/mame
synced 2025-07-03 09:06:08 +03:00
Fixed USE_DISPATCH_GL compile, seams no-one is actually using it since it is broken for a while (nw)
This commit is contained in:
parent
d8bf7a88e8
commit
a9d260cf14
@ -374,7 +374,7 @@ void renderer_ogl::load_gl_lib(running_machine &machine)
|
|||||||
|
|
||||||
stemp = downcast<sdl_options &>(machine.options()).gl_lib();
|
stemp = downcast<sdl_options &>(machine.options()).gl_lib();
|
||||||
if (stemp != nullptr && strcmp(stemp, OSDOPTVAL_AUTO) == 0)
|
if (stemp != nullptr && strcmp(stemp, OSDOPTVAL_AUTO) == 0)
|
||||||
stemp = nullptrnullptr;
|
stemp = nullptr;
|
||||||
|
|
||||||
if (SDL_GL_LoadLibrary(stemp) != 0) // Load library (default for e==nullptr
|
if (SDL_GL_LoadLibrary(stemp) != 0) // Load library (default for e==nullptr
|
||||||
{
|
{
|
||||||
@ -385,7 +385,7 @@ void renderer_ogl::load_gl_lib(running_machine &machine)
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_DISPATCH_GL
|
#ifdef USE_DISPATCH_GL
|
||||||
gl_dispatch = (osd_gl_dispatch *) osd_malloc(sizeof(osd_gl_dispatch));
|
gl_dispatch = global_alloc(osd_gl_dispatch);
|
||||||
#endif
|
#endif
|
||||||
s_dll_loaded = true;
|
s_dll_loaded = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user