From 061ef6ed06e177e952f8be9cd008aae280e6b31a Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Wed, 2 Nov 2011 14:56:49 +0000 Subject: [PATCH] glx: remove miss leading comment There was a comment implying that if a rgba config has been requested but no suitable config was found then we would automatically fall back to an rgb config instead. Actually if no rgba visual is found we simply fail without any automatic fall back because Cogl is not in a good position to judge if automatic fall backs are acceptable for higher level apis such as clutter. Reviewed-by: Neil Roberts --- cogl/winsys/cogl-winsys-glx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cogl/winsys/cogl-winsys-glx.c b/cogl/winsys/cogl-winsys-glx.c index f1a2f6861..05e2dac14 100644 --- a/cogl/winsys/cogl-winsys-glx.c +++ b/cogl/winsys/cogl-winsys-glx.c @@ -559,8 +559,6 @@ find_fbconfig (CoglDisplay *display, } } - /* If we make it here then we didn't find an RGBA config so - we'll fall back to using an RGB config */ g_set_error (error, COGL_WINSYS_ERROR, COGL_WINSYS_ERROR_CREATE_CONTEXT, "Unable to find fbconfig with rgba visual");