summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/framebuffer.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-15 05:00:45 +0000
committerBrian Paul <[email protected]>2005-09-15 05:00:45 +0000
commite00ac11d4dd05c56584622dc2707bbdcfe4b2707 (patch)
treeaf58ae919ba702b593311ae4251c92f6d1257f0a /src/mesa/main/framebuffer.c
parent0f540f4b0468f581f63fb0b6347fe66251fa545a (diff)
Replace GLuint with GLbitfield where appropriate. Also replace GLuint
with GLboolean in a few places.
Diffstat (limited to 'src/mesa/main/framebuffer.c')
-rw-r--r--src/mesa/main/framebuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index 6fab6eaa9f8..628afc7a86b 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -362,7 +362,7 @@ _mesa_update_framebuffer_visual(struct gl_framebuffer *fb)
* the corresponding renderbuffer.
*/
static struct gl_renderbuffer *
-get_renderbuffer(struct gl_framebuffer *fb, GLuint bufferBit)
+get_renderbuffer(struct gl_framebuffer *fb, GLbitfield bufferBit)
{
GLuint index;
for (index = 0; index < BUFFER_COUNT; index++) {
@@ -403,7 +403,7 @@ _mesa_update_framebuffer(GLcontext *ctx)
* color buffers (for example).
*/
for (output = 0; output < ctx->Const.MaxDrawBuffers; output++) {
- GLuint bufferMask = fb->_ColorDrawBufferMask[output];
+ GLbitfield bufferMask = fb->_ColorDrawBufferMask[output];
GLuint count = 0;
GLuint bufferBit;
/* for each bit that's set in the bufferMask... */