Fixes piglit EXT_framebuffer_multisample/renderbuffer-samples. Reviewed-by: Brian Paul <brianp@vmware.com> NOTE: This is a candidate for the 8.0 branch.tags/i965-primitive-restart-v2
| @@ -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; | |||
| } | |||