diff options
author | Brian Paul <[email protected]> | 2003-06-02 16:46:48 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-06-02 16:46:48 +0000 |
commit | a189e4c1e13f0c1fbbbe4b2346fa96cce9a4853e (patch) | |
tree | 5e95e67873a5b608875a47c626472815e5107b92 | |
parent | c9ab99ced1fbfb230b3ccead51eb6c544a39e4fe (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 f7e922e2a22..2232ed0606e 100644 --- a/src/mesa/main/buffers.c +++ b/src/mesa/main/buffers.c @@ -407,9 +407,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 */ |