Revert "glx: Make sure we get an FBConfig the root window's visual."
This reverts commit b5a61239e2
.
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>
This commit is contained in:
parent
84f977467b
commit
d5dd1d6371
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue