mirror of
https://github.com/gryf/gryf-overlay.git
synced 2025-12-23 22:52:32 +01:00
20 lines
558 B
Diff
20 lines
558 B
Diff
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:
|