glx: Make sure we get an FBConfig the root window's visual.
Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
9999a66013
commit
b5a61239e2
|
@ -313,6 +313,7 @@ ephyr_glamor_get_visual(void)
|
||||||
GLX_GREEN_SIZE, 1,
|
GLX_GREEN_SIZE, 1,
|
||||||
GLX_BLUE_SIZE, 1,
|
GLX_BLUE_SIZE, 1,
|
||||||
GLX_DOUBLEBUFFER, 1,
|
GLX_DOUBLEBUFFER, 1,
|
||||||
|
GLX_VISUAL_ID, DefaultVisual(dpy, DefaultScreen(dpy)),
|
||||||
None
|
None
|
||||||
};
|
};
|
||||||
int event_base = 0, error_base = 0, nelements;
|
int event_base = 0, error_base = 0, nelements;
|
||||||
|
|
Loading…
Reference in New Issue