From 676d0accf5cc43e86057b14cfb8bba9316932582 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 22 Sep 2005 05:19:57 +0000 Subject: Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits, BlueBits, etc fields. --- src/mesa/drivers/x11/xm_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/x11') diff --git a/src/mesa/drivers/x11/xm_buffer.c b/src/mesa/drivers/x11/xm_buffer.c index 5db0b496c7..64a920da2b 100644 --- a/src/mesa/drivers/x11/xm_buffer.c +++ b/src/mesa/drivers/x11/xm_buffer.c @@ -130,7 +130,7 @@ xmesa_new_renderbuffer(GLcontext *ctx, GLuint name, GLboolean rgbMode, xrb->Base._BaseFormat = GL_COLOR_INDEX; xrb->Base.DataType = GL_UNSIGNED_INT; } - xrb->Base.ComponentSizes[0] = 0; /* XXX fix? */ + /* only need to set Red/Green/EtcBits fields for user-created RBs */ } return xrb; } -- cgit v1.2.3