Commit a189e4c1 authored by Brian Paul's avatar Brian Paul
Browse files

s/DrawBuffer/ReadBuffer/ in _mesa_ResizeBuffersMESA (PHil Brown)

parent c9ab99ce
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment