xwayland: Fix duplicate "direct_color" comment to say "double_buffer"

Fixes: 8469241592 "xwayland: Add EGL-backed GLX provider"
Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Michel Dänzer 2019-12-17 18:43:07 +01:00 committed by Michel Dänzer
parent 9b31358c52
commit 02e7a497ce

View File

@ -303,7 +303,7 @@ egl_mirror_configs(ScreenPtr pScreen, struct egl_screen *screen)
*/ */
for (i = nconfigs - 1; i > 0; i--) for (i = nconfigs - 1; i > 0; i--)
for (j = 0; j < 2; j++) /* direct_color */ 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, c = translate_eglconfig(screen, host_configs[i], c,
/* direct_color */ offon[j], /* direct_color */ offon[j],
/* double_buffer */ offon[k] /* double_buffer */ offon[k]