aboutsummaryrefslogtreecommitdiff
path: root/pugl/pugl_osx.m
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2018-09-02 11:23:53 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2018-09-02 11:23:53 +0200
commita40d223e7a1a7e1dc7640c068ae1265dc6e2a438 (patch)
tree43a3fee7472e0389da43b109af539237ec74478f /pugl/pugl_osx.m
parentd6844969ae9dc89bd437a8ea349273242197c2ff (diff)
downloadnuk.lv2-a40d223e7a1a7e1dc7640c068ae1265dc6e2a438.tar.xz
Squashed 'pugl/' changes from 4fed5fe..035884a
035884a Don't clear cairo canvas, support gl stencils git-subtree-dir: pugl git-subtree-split: 035884a7d1736f56e543e1e361f9fbe975a8706b
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 5f57798..014d553 100644
--- a/pugl/pugl_osx.m
+++ b/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