gl/msaa: Also setmsaa_active to true for non-texture surfaces

This is important because there are places in the code where msaa_active
is used to decide whether or not to complete an operation with
multisampling or not.
This commit is contained in:
Henry Song 2012-05-23 15:12:16 +02:00 committed by Martin Robinson
parent 9f43f096b2
commit 18e7234c7e

View file

@ -688,6 +688,7 @@ _cairo_gl_context_set_destination (cairo_gl_context_t *ctx,
glDisable(GL_MULTISAMPLE);
#endif
surface->msaa_active = multisampling;
ctx->dispatch.BindFramebuffer (GL_FRAMEBUFFER, 0);
#if CAIRO_HAS_GL_SURFACE