aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_osx.m
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-10-03 18:07:17 +0200
committerDavid Robillard <d@drobilla.net>2017-10-03 18:10:18 +0200
commitc4dcd9609a4e0a968c58830301cfb49e2beffd4b (patch)
treee6d9c98c1bf14aea8a433bb341d095fd90d9ce2e /pugl/pugl_osx.m
parent39ad8490488fdb61b0afd21963ec0d6da4732270 (diff)
downloadpugl-c4dcd9609a4e0a968c58830301cfb49e2beffd4b.tar.gz
pugl-c4dcd9609a4e0a968c58830301cfb49e2beffd4b.tar.bz2
pugl-c4dcd9609a4e0a968c58830301cfb49e2beffd4b.zip
Don't clear entire cairo surface on each expose
Diffstat (limited to 'pugl/pugl_osx.m')
-rw-r--r--pugl/pugl_osx.m6
1 files changed, 0 insertions, 6 deletions
diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m
index 8ce6881..71d98a1 100644
--- a/pugl/pugl_osx.m
+++ b/pugl/pugl_osx.m
@@ -538,12 +538,6 @@ void
puglEnterContext(PuglView* view)
{
[[view->impl->glview openGLContext] makeCurrentContext];
-#ifdef PUGL_HAVE_CAIRO
- if (view->ctx_type & PUGL_CAIRO) {
- cairo_set_source_rgb(view->impl->cr, 0, 0, 0);
- cairo_paint(view->impl->cr);
- }
-#endif
}
void