]> Pileus Git - grits/commitdiff
Set OpenGL resolution request for retina mbp
authorAndy Spencer <andy753421@gmail.com>
Wed, 2 Jan 2013 06:03:57 +0000 (06:03 +0000)
committerAndy Spencer <andy753421@gmail.com>
Wed, 2 Jan 2013 06:13:57 +0000 (06:13 +0000)
Note: there are still other high resolution issues that cause the
regular gtk widgets to be drawn in low resolution.

src/gtkgl.c

index 32957f570bea3cb090557e1d0c31199bdaa78cc4..6c4913b1fd17d28412c8b32611410b20383eb32f 100644 (file)
@@ -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)