commit b1353c55a63c5755c660236d1ea10b96551535d1
parent 4dbfbb043e7a33fc0feb67d1db2b35ab86933233
Author: falkTX <falktx@gmail.com>
Date: Sat, 18 Apr 2015 21:13:31 +0200
Fix puglLeaveContext on linux
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dgl/src/pugl/pugl_x11.c b/dgl/src/pugl/pugl_x11.c
@@ -356,6 +356,8 @@ puglReshape(PuglView* view, int width, int height)
puglDefaultReshape(view, width, height);
}
+ puglLeaveContext(view, false);
+
view->width = width;
view->height = height;
}
@@ -371,7 +373,7 @@ puglDisplay(PuglView* view)
view->displayFunc(view);
}
- puglLeaveContext(view);
+ puglLeaveContext(view, true);
}
static PuglKey