summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-03-21 13:13:27 -0700
committerKeith Packard <keithp@keithp.com>2014-04-03 13:07:50 -0700
commitd5dd1d6371021c2aad94e33c5837ccd4bf9bf0f4 (patch)
tree5762b035cc990532f4680cf733bf9216f856d1c6 /hw
parent84f977467b514af88019ab2791bf7a74530b54df (diff)
Revert "glx: Make sure we get an FBConfig the root window's visual."
This reverts commit b5a61239e2fef167c229154d7919ff862503e3f3. Not only did I screw up and introduce a warning, it turns out glXChooseFBConfig() explicitly ignores this attribute. Thanks, GLX. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'hw')
-rw-r--r--hw/kdrive/ephyr/ephyr_glamor_glx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/kdrive/ephyr/ephyr_glamor_glx.c b/hw/kdrive/ephyr/ephyr_glamor_glx.c
index 9903cc772..eaf565496 100644
--- a/hw/kdrive/ephyr/ephyr_glamor_glx.c
+++ b/hw/kdrive/ephyr/ephyr_glamor_glx.c
@@ -313,7 +313,6 @@ ephyr_glamor_get_visual(void)
GLX_GREEN_SIZE, 1,
GLX_BLUE_SIZE, 1,
GLX_DOUBLEBUFFER, 1,
- GLX_VISUAL_ID, DefaultVisual(dpy, DefaultScreen(dpy)),
None
};
int event_base = 0, error_base = 0, nelements;