From 2a72789ee8e88f612dff48ebe2ebe9fecda7a95d Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 16 Mar 2016 16:28:13 -0400 Subject: xwin/glx: Drop GLWIN_NO_WGL_EXTENSIONS hack This doesn't seem very useful, and we're about to implement 1.4 across the board, so some WGL extensions will become required. Reviewed-by: Eric Anholt Reviewed-by: Emil Velikov Signed-off-by: Adam Jackson --- hw/xwin/glx/indirect.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/hw/xwin/glx/indirect.c b/hw/xwin/glx/indirect.c index cbbc11302..2df014e54 100644 --- a/hw/xwin/glx/indirect.c +++ b/hw/xwin/glx/indirect.c @@ -627,16 +627,6 @@ glxWinScreenProbe(ScreenPtr pScreen) // might have completely different capabilities. Of course, good luck getting // those screens to be accelerated in XP and earlier... - { - // testing facility to not use any WGL extensions - char *envptr = getenv("GLWIN_NO_WGL_EXTENSIONS"); - - if ((envptr != NULL) && (atoi(envptr) != 0)) { - ErrorF("GLWIN_NO_WGL_EXTENSIONS is set, ignoring WGL_EXTENSIONS\n"); - wgl_extensions = ""; - } - } - { // // Based on the WGL extensions available, enable various GLX extensions -- cgit v1.2.3