From 69b2d6336b3598957a59a37a6bc95bcb154bab95 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 18 Sep 2016 22:28:30 -0400 Subject: Remove GLUT-like event callbacks --- pugl/pugl_x11.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pugl/pugl_x11.c') 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) { -- cgit v1.2.3