aboutsummaryrefslogtreecommitdiff
path: root/pugl/pugl/pugl_osx.m
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2018-09-02 11:27:21 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2018-09-02 11:27:21 +0200
commit2965e7e2089a8e3d62f2b4a152db04fb702974e6 (patch)
treee34c225e780a0468a9b0a06571614e16693b6203 /pugl/pugl/pugl_osx.m
parentb07563b7fa705d368b96b52a8021cbc8d7bd4762 (diff)
parent1370909c16d43d7f312d9f39147c625b1e9b918c (diff)
downloadcanvas_display.lv2-2965e7e2089a8e3d62f2b4a152db04fb702974e6.tar.xz
Merge commit '1370909c16d43d7f312d9f39147c625b1e9b918c'
Diffstat (limited to 'pugl/pugl/pugl_osx.m')
-rw-r--r--pugl/pugl/pugl_osx.m6
1 files changed, 0 insertions, 6 deletions
diff --git a/pugl/pugl/pugl_osx.m b/pugl/pugl/pugl_osx.m
index 5f57798..014d553 100644
--- a/pugl/pugl/pugl_osx.m
+++ b/pugl/pugl/pugl_osx.m
@@ -544,12 +544,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