mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-02 00:17:58 +02:00
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:
parent
9f43f096b2
commit
18e7234c7e
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue