intel: Update comment in intelInitScreen2 to noting DRI2 protocol issues

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
Ian Romanick
2010-02-08 10:32:29 -08:00
parent b91bb45899
commit 066f45c7a1

View File

@@ -401,9 +401,9 @@ __DRIconfig **intelInitScreen2(__DRIscreen *psp)
__DRIconfig **new_configs; __DRIconfig **new_configs;
int depth_factor; int depth_factor;
/* With DRI2 right now, GetBuffers always returns a depth/stencil buffer /* Starting with DRI2 protocol version 1.1 we can request a depth/stencil
* with the same cpp as the drawable. So we can't support depth cpp != * buffer that has a diffferent number of bits per pixel than the color
* color cpp currently. * buffer. This isn't yet supported here.
*/ */
if (fb_type[color] == GL_UNSIGNED_SHORT_5_6_5) { if (fb_type[color] == GL_UNSIGNED_SHORT_5_6_5) {
depth_bits[1] = 16; depth_bits[1] = 16;