[PATCH xserver 08/13] xwin/glx: Drop GLWIN_NO_WGL_EXTENSIONS hack

Adam Jackson ajax at redhat.com
Wed Mar 23 22:46:50 UTC 2016


This doesn't seem very useful, and we're about to implement 1.4 across
the board, so some WGL extensions will become required.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 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 cf51c9b..4a0c283 100644
--- a/hw/xwin/glx/indirect.c
+++ b/hw/xwin/glx/indirect.c
@@ -628,16 +628,6 @@ glxWinScreenProbe(ScreenPtr pScreen)
     // 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
         // XXX: make this table-driven ?
-- 
2.5.0



More information about the xorg-devel mailing list