[vlc-commits] opengl: fixed compilation for OSX

Felix Paul Kühne git at videolan.org
Sun Jul 8 14:48:28 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Jul  8 14:48:18 2012 +0200| [b14280d7ee0f8190b021d1f862288b2180f4d85b] | committer: Felix Paul Kühne

opengl: fixed compilation for OSX

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b14280d7ee0f8190b021d1f862288b2180f4d85b
---

 modules/video_output/opengl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index fa20278..667e937 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -240,7 +240,7 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
         return NULL;
     }
 
-#ifndef USE_OPENGL_ES
+#if !USE_OPENGL_ES
     const unsigned char *ogl_version = glGetString(GL_VERSION);
     bool supports_shaders = strverscmp((const char *)ogl_version, "2.0") >= 0;
 #else



More information about the vlc-commits mailing list