aboutsummaryrefslogtreecommitdiffhomepage
path: root/waftools
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2015-01-21 20:32:42 +0100
committerGravatar wm4 <wm4@nowhere>2015-01-21 20:32:42 +0100
commite34957940b5012dba23616469fb5aec56fcde5ee (patch)
tree460acc027f1cdae8814992ec6f4a6f3a63de37c7 /waftools
parentc15697477fca133b69cad58ad2d43b94b994f6fd (diff)
vo_opengl: cleanups after vo_opengl_old removal
Don't load all the legacy functions (including ancient extensions). Slightly simplify function loader and context creation, now that legacy GL doesn't need to be handled. Remove the code for drawing OSD in legacy mode. Remove all the header hacks, which were meant for ancient OpenGL headers which didn't even support things like OpenGL 1.3. Instead, adjust the GLX check to make sure we get both OpenGL 3x and 2.1 symbols. For win32 and OSX, we assume that the user has the latest headers anyway. For wayland, we hope that things somehow go right.
Diffstat (limited to 'waftools')
-rw-r--r--waftools/fragments/gl_x11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/waftools/fragments/gl_x11.c b/waftools/fragments/gl_x11.c
index 36f4ef1f09..53b82e46ba 100644
--- a/waftools/fragments/gl_x11.c
+++ b/waftools/fragments/gl_x11.c
@@ -9,5 +9,7 @@ int main(int argc, char *argv[]) {
glXGetProcAddressARB("");
glXGetCurrentDisplay();
glFinish();
+ (void)GL_RGB32F; // arbitrary OpenGL 3.0 symbol
+ (void)GL_LUMINANCE16; // arbitrary OpenGL legacy-only symbol
return 0;
}