summaryrefslogtreecommitdiff
path: root/src/cairo-gl-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-gl-device.c')
-rw-r--r--src/cairo-gl-device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-gl-device.c b/src/cairo-gl-device.c
index 22297b33..b30c49cb 100644
--- a/src/cairo-gl-device.c
+++ b/src/cairo-gl-device.c
@@ -725,6 +725,8 @@ _cairo_gl_context_set_destination (cairo_gl_context_t *ctx,
#endif
}
+ glDisable (GL_DITHER);
+
glViewport (0, 0, surface->width, surface->height);
if (_cairo_gl_surface_is_texture (surface))