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 <eric@anholt.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson 2016-03-16 16:28:13 -04:00
parent 77bdaa1313
commit 2a72789ee8

View File

@ -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