diff options
author | Brian Paul <[email protected]> | 2002-10-11 17:41:03 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-10-11 17:41:03 +0000 |
commit | 8ad1076dc2afda8ed37e5a9f6a757583eba90375 (patch) | |
tree | 30bc52e2db6e089972d441a53c070e8377cb684d /src/mesa/drivers/windows | |
parent | 9e84910749744efcba06670f622cc00d279f26f1 (diff) |
Another round of glRead/DrawBuffer() clean-ups and simplifications.
Replaced ctx->Color._DriverDrawBuffer with swrast->CurrentBuffer.
Replaced ctx->Pixel._DriverReadBuffer with ctx->Pixel._ReadSrcMask.
swrast->Driver.SetBuffer() takes FRONT/BACK_LEFT/RIGHT_BIT values now.
Added tokens and code for GL_AUX buffers, for completeness.
Diffstat (limited to 'src/mesa/drivers/windows')
-rw-r--r-- | src/mesa/drivers/windows/wmesa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/windows/wmesa.c b/src/mesa/drivers/windows/wmesa.c index 8d59cff2039..bd91040221b 100644 --- a/src/mesa/drivers/windows/wmesa.c +++ b/src/mesa/drivers/windows/wmesa.c @@ -1,4 +1,4 @@ -/* $Id: wmesa.c,v 1.38 2002/10/04 19:10:11 brianp Exp $ */ +/* $Id: wmesa.c,v 1.39 2002/10/11 17:41:05 brianp Exp $ */ /* * Windows (Win32) device driver for Mesa 3.4 @@ -582,9 +582,9 @@ static void enable( GLcontext* ctx, GLenum pname, GLboolean enable ) static void set_buffer(GLcontext *ctx, GLframebuffer *colorBuffer, - GLenum buffer ) + GLuint bufferBit ) { - /* XXX todo - examine buffer and set read/write pointers */ + /* XXX todo - examine bufferBit and set read/write pointers */ return; } |