[PATCH xserver 2/8] xwin/glx: Drop GLWIN_NO_WGL_EXTENSIONS hack

Adam Jackson ajax at redhat.com
Mon Mar 21 20:29:40 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 e515d18..a01757b 100644
--- a/hw/xwin/glx/indirect.c
+++ b/hw/xwin/glx/indirect.c
@@ -627,16 +627,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 = "";
-        }
-    }
-
-    {
         Bool glx_sgi_make_current_read = FALSE;
 
         //
-- 
2.5.0



More information about the xorg-devel mailing list