]> git.cworth.org Git - apitrace/commitdiff
Disabled code to use Apple software renderer.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Tue, 16 Oct 2012 16:35:18 +0000 (17:35 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Tue, 16 Oct 2012 16:35:54 +0000 (17:35 +0100)
retrace/glws_cocoa.mm

index 2ac30913d515e3f5405c4f8f019a62eea1fce7c9..245ea4fb9673cd2b9078c5a47ab165007e98d4d4 100644 (file)
@@ -193,6 +193,12 @@ createVisual(bool doubleBuffer, Profile profile) {
        return NULL;
 #endif
     }
+    
+    // Use Apple software rendering for debugging purposes.
+    if (0) {
+        attribs.add(NSOpenGLPFARendererID, 0x00020200); // kCGLRendererGenericID
+    }
+
     attribs.end();
 
     NSOpenGLPixelFormat *pixelFormat = [[NSOpenGLPixelFormat alloc]