summaryrefslogtreecommitdiff
blob: cd32cd35d075f093ef30eed3a356ad5a0ac2e57e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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: