summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2019-12-17 18:43:07 +0100
committerMichel Dänzer <michel@daenzer.net>2019-12-17 18:43:07 +0100
commit02e7a497ceacef490921a8ae7115cd9f28a66dec (patch)
tree72c8d7d30cc09acf98ecf9af94827c1be14e08e5 /hw
parent9b31358c52e951883bf7c01c953a9da080542244 (diff)
xwayland: Fix duplicate "direct_color" comment to say "double_buffer"
Fixes: 8469241592b94b "xwayland: Add EGL-backed GLX provider" Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/xwayland/xwayland-glx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwayland/xwayland-glx.c b/hw/xwayland/xwayland-glx.c
index b0b227d87..89527cd8b 100644
--- a/hw/xwayland/xwayland-glx.c
+++ b/hw/xwayland/xwayland-glx.c
@@ -303,7 +303,7 @@ egl_mirror_configs(ScreenPtr pScreen, struct egl_screen *screen)
*/
for (i = nconfigs - 1; i > 0; i--)
for (j = 0; j < 2; j++) /* direct_color */
- for (k = 0; k < 2; k++) /* direct_color */
+ for (k = 0; k < 2; k++) /* double_buffer */
c = translate_eglconfig(screen, host_configs[i], c,
/* direct_color */ offon[j],
/* double_buffer */ offon[k]