diff options
author | Brian Paul <[email protected]> | 2005-09-22 05:19:57 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-09-22 05:19:57 +0000 |
commit | 676d0accf5cc43e86057b14cfb8bba9316932582 (patch) | |
tree | eaefcddf33d92bd92adac7106701e99dc2b5da85 /src/mesa/drivers/x11/xm_buffer.c | |
parent | f1e2826856d7df00d0e98106b93ddab51b26ff04 (diff) |
Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits,
BlueBits, etc fields.
Diffstat (limited to 'src/mesa/drivers/x11/xm_buffer.c')
-rw-r--r-- | src/mesa/drivers/x11/xm_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xm_buffer.c b/src/mesa/drivers/x11/xm_buffer.c index 5db0b496c73..64a920da2b1 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; } |