summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-03-16 16:28:13 -0400
committerAdam Jackson <ajax@redhat.com>2016-03-30 11:13:57 -0400
commit2a72789ee8e88f612dff48ebe2ebe9fecda7a95d (patch)
tree9ab7fa7fb64d46617ea68c368ee1a12a5cc460f9
parent77bdaa1313aa55191b49ec73c1e377928ca294fe (diff)
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>
-rw-r--r--hw/xwin/glx/indirect.c10
1 files changed, 0 insertions, 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
@@ -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 ?