| commit 6ee372b3693857372a7b4855039ad1a94d3aebca |
| Author: hasufell <hasufell@gentoo.org> |
| Date: Tue Jun 25 23:51:12 2013 +0200 |
| |
| fix for disabled opengl |
| |
| diff --git a/src/osd/sdl/osdsdl.h b/src/osd/sdl/osdsdl.h |
| index ed0b66b..03d68f9 100644 |
| --- a/src/osd/sdl/osdsdl.h |
| +++ b/src/osd/sdl/osdsdl.h |
| @@ -219,6 +219,8 @@ public: |
| 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: |