projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9ab99c
)
s/DrawBuffer/ReadBuffer/ in _mesa_ResizeBuffersMESA (PHil Brown)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 2 Jun 2003 16:46:48 +0000
(16:46 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 2 Jun 2003 16:46:48 +0000
(16:46 +0000)
src/mesa/main/buffers.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/buffers.c
b/src/mesa/main/buffers.c
index f7e922e2a22f8c91980b04c248cb5081f111fffe..2232ed0606e73ea25b5565a13877b92ba7690705 100644
(file)
--- 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->
Draw
Buffer;
+ GLframebuffer *buffer = ctx->
Read
Buffer;
- /* 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 */