[grits] Set OpenGL resolution request for retina mbp



commit e69ae3bcc0906b8c1a9bcf35b40e9d2aa3c2bb03
Author: Andy Spencer <andy753421 gmail com>
Date:   Wed Jan 2 06:03:57 2013 +0000

    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 files changed, 1 insertions(+), 0 deletions(-)
---
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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]