aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-18 22:28:30 -0400
committerDavid Robillard <d@drobilla.net>2016-09-18 22:28:30 -0400
commit69b2d6336b3598957a59a37a6bc95bcb154bab95 (patch)
treec3bdd423f0f795993e96c093f4ecdba09a6cc78b /pugl/pugl_x11.c
parent8150102ad806632e70f8bd8cd211dbe74bc40be5 (diff)
downloadpugl-69b2d6336b3598957a59a37a6bc95bcb154bab95.tar.gz
pugl-69b2d6336b3598957a59a37a6bc95bcb154bab95.tar.bz2
pugl-69b2d6336b3598957a59a37a6bc95bcb154bab95.zip
Remove GLUT-like event callbacks
Diffstat (limited to 'pugl/pugl_x11.c')
-rw-r--r--pugl/pugl_x11.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pugl/pugl_x11.c b/pugl/pugl_x11.c
index 7ceef29..75fedca 100644
--- a/pugl/pugl_x11.c
+++ b/pugl/pugl_x11.c
@@ -61,6 +61,8 @@ static int attrListDbl[] = {
GLX_GREEN_SIZE , 4,
GLX_BLUE_SIZE , 4,
GLX_DEPTH_SIZE , 16,
+ /* GLX_SAMPLE_BUFFERS , 1, */
+ /* GLX_SAMPLES , 4, */
None
};
@@ -72,6 +74,8 @@ static int attrListSgl[] = {
GLX_GREEN_SIZE , 4,
GLX_BLUE_SIZE , 4,
GLX_DEPTH_SIZE , 16,
+ /* GLX_SAMPLE_BUFFERS , 1, */
+ /* GLX_SAMPLES , 4, */
None
};
@@ -684,6 +688,7 @@ puglProcessEvents(PuglView* view)
expose_event.expose.y = 0;
expose_event.expose.width = view->width;
expose_event.expose.height = view->height;
+ view->redisplay = false;
}
if (expose_event.type) {