Mesa (master): swrast: replace GLenum, GLint with GLbitfield for buffer vars
Brian Paul
brianp at kemper.freedesktop.org
Sat Aug 8 13:31:22 UTC 2009
Module: Mesa
Branch: master
Commit: b15334035177fbb031f000583ef7cb31f68b248c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b15334035177fbb031f000583ef7cb31f68b248c
Author: Brian Paul <brianp at vmware.com>
Date: Fri Aug 7 12:04:09 2009 -0600
swrast: replace GLenum, GLint with GLbitfield for buffer vars
---
src/mesa/swrast/s_blit.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mesa/swrast/s_blit.c b/src/mesa/swrast/s_blit.c
index 4a95c22..8303e4d 100644
--- a/src/mesa/swrast/s_blit.c
+++ b/src/mesa/swrast/s_blit.c
@@ -105,7 +105,7 @@ static void
blit_nearest(GLcontext *ctx,
GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
- GLenum buffer)
+ GLbitfield buffer)
{
struct gl_renderbuffer *readRb, *drawRb;
@@ -457,7 +457,7 @@ static void
simple_blit(GLcontext *ctx,
GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
- GLenum buffer)
+ GLbitfield buffer)
{
struct gl_renderbuffer *readRb, *drawRb;
const GLint width = srcX1 - srcX0;
@@ -560,7 +560,7 @@ _swrast_BlitFramebuffer(GLcontext *ctx,
GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
GLbitfield mask, GLenum filter)
{
- static const GLint buffers[3] = {
+ static const GLbitfield buffers[3] = {
GL_COLOR_BUFFER_BIT,
GL_DEPTH_BUFFER_BIT,
GL_STENCIL_BUFFER_BIT
More information about the mesa-commit
mailing list