diff options
author | Eric Anholt <eric@anholt.net> | 2014-03-14 13:10:04 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-03-17 14:30:58 -0700 |
commit | b5a61239e2fef167c229154d7919ff862503e3f3 (patch) | |
tree | 408a363cee6ed6d86a82c3b4dfe622329f42cf01 | |
parent | 9999a660135fafe5f1fdf9452e5ca74ffb069dc2 (diff) |
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>
-rw-r--r-- | hw/kdrive/ephyr/ephyr_glamor_glx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/kdrive/ephyr/ephyr_glamor_glx.c b/hw/kdrive/ephyr/ephyr_glamor_glx.c index eaf565496..9903cc772 100644 --- a/hw/kdrive/ephyr/ephyr_glamor_glx.c +++ b/hw/kdrive/ephyr/ephyr_glamor_glx.c @@ -313,6 +313,7 @@ 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; |