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:
parent
77bdaa1313
commit
2a72789ee8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue