From e69ae3bcc0906b8c1a9bcf35b40e9d2aa3c2bb03 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Wed, 2 Jan 2013 06:03:57 +0000 Subject: [PATCH] Set OpenGL resolution request for retina mbp Note: there are still other high resolution issues that cause the regular gtk widgets to be drawn in low resolution. --- src/gtkgl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gtkgl.c b/src/gtkgl.c index 32957f5..6c4913b 100644 --- a/src/gtkgl.c +++ b/src/gtkgl.c @@ -300,6 +300,7 @@ void gtk_gl_begin(GtkWidget *widget) [ctx makeCurrentContext]; [ctx update]; [view setFrame:rect]; + [view setWantsBestResolutionOpenGLSurface:YES]; } void gtk_gl_end(GtkWidget *widget) -- 2.43.2