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 <neil@linux.intel.com>
This commit is contained in:
Robert Bragg 2011-11-02 14:56:49 +00:00
parent 00f0a66ec9
commit 061ef6ed06

View File

@ -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, g_set_error (error, COGL_WINSYS_ERROR,
COGL_WINSYS_ERROR_CREATE_CONTEXT, COGL_WINSYS_ERROR_CREATE_CONTEXT,
"Unable to find fbconfig with rgba visual"); "Unable to find fbconfig with rgba visual");