summaryrefslogtreecommitdiff
path: root/glx/glxdricommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'glx/glxdricommon.c')
-rw-r--r--glx/glxdricommon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/glx/glxdricommon.c b/glx/glxdricommon.c
index 1879bfcd8..a16e72849 100644
--- a/glx/glxdricommon.c
+++ b/glx/glxdricommon.c
@@ -195,6 +195,9 @@ createModeFromConfig(const __DRIcoreExtension * core,
if (duplicateForComp &&
(render_type_is_pbuffer_only(renderType) ||
config->config.rgbBits != 32 ||
+ config->config.redBits != 8 ||
+ config->config.greenBits != 8 ||
+ config->config.blueBits != 8 ||
config->config.visualRating != GLX_NONE ||
config->config.sampleBuffers != 0)) {
free(config);