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

This commit is contained in:
Brian Paul 2003-06-02 16:46:48 +00:00
parent c9ab99ced1
commit a189e4c1e1
1 changed files with 2 additions and 2 deletions

View File

@ -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 */