more fixes for mesa's fbo handling (fixes tests/fbotest1/2)

This commit is contained in:
Roland Scheidegger
2007-07-18 18:07:12 +02:00
parent f9ac01eac5
commit 6075df53b5
3 changed files with 14 additions and 3 deletions

View File

@@ -557,9 +557,8 @@ _mesa_ReadBuffer(GLenum buffer)
}
}
if (fb->Name == 0) {
ctx->Pixel.ReadBuffer = buffer;
}
ctx->Pixel.ReadBuffer = buffer;
fb->ColorReadBuffer = buffer;
fb->_ColorReadBufferIndex = srcBuffer;