diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-06-02 16:47:13 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-06-02 16:47:13 +0000 |
commit | 5a98ee10aa39285b39978a9ebb86437b677d06a8 (patch) | |
tree | b57258568fc77fdeaf1a3060c33e8c94fe9259b7 | |
parent | bffceeebb58ca4a6c9a1a4680f4691e7e33005b8 (diff) |
s/DrawBuffer/ReadBuffer/ in _mesa_ResizeBuffersMESA (PHil Brown)
-rw-r--r-- | src/mesa/main/buffers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c index 8a84dc44fc..9b9f423db1 100644 --- a/src/mesa/main/buffers.c +++ b/src/mesa/main/buffers.c @@ -408,9 +408,9 @@ _mesa_ResizeBuffersMESA( void ) if (ctx->ReadBuffer && ctx->ReadBuffer != ctx->DrawBuffer) { GLuint buf_width, buf_height; - GLframebuffer *buffer = ctx->DrawBuffer; + GLframebuffer *buffer = ctx->ReadBuffer; - /* ask device driver for size of output buffer */ + /* ask device driver for size of read buffer */ (*ctx->Driver.GetBufferSize)( buffer, &buf_width, &buf_height ); /* see if size of device driver's color buffer (window) has changed */ |