1 2 3 4 5 6 7 8 9 10 11
--- ./src/osd/sdl/osdsdl.h.orig +++ ./src/osd/sdl/osdsdl.h @@ -225,6 +225,8 @@ const char *audio_driver() const { return value(SDLOPTION_AUDIODRIVER); } #if USE_OPENGL const char *gl_lib() const { return value(SDLOPTION_GL_LIB); } +#else + const char *gl_lib() const { return NULL; } #endif private: