mesa: Avoid short-circuiting realloc of renderbuffers to new sample count.
Fixes piglit EXT_framebuffer_multisample/renderbuffer-samples. Reviewed-by: Brian Paul <brianp@vmware.com> NOTE: This is a candidate for the 8.0 branch.
This commit is contained in:
parent
f83756f80f
commit
0e8d156c3c
|
@ -1375,7 +1375,8 @@ renderbuffer_storage(GLenum target, GLenum internalFormat,
|
|||
|
||||
if (rb->InternalFormat == internalFormat &&
|
||||
rb->Width == (GLuint) width &&
|
||||
rb->Height == (GLuint) height) {
|
||||
rb->Height == (GLuint) height &&
|
||||
rb->NumSamples == samples) {
|
||||
/* no change in allocation needed */
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue