Commit b14280d7 authored by Felix Paul Kühne's avatar Felix Paul Kühne

opengl: fixed compilation for OSX

parent 30b05392
...@@ -240,7 +240,7 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt, ...@@ -240,7 +240,7 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
return NULL; return NULL;
} }
#ifndef USE_OPENGL_ES #if !USE_OPENGL_ES
const unsigned char *ogl_version = glGetString(GL_VERSION); const unsigned char *ogl_version = glGetString(GL_VERSION);
bool supports_shaders = strverscmp((const char *)ogl_version, "2.0") >= 0; bool supports_shaders = strverscmp((const char *)ogl_version, "2.0") >= 0;
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment