]> git.cworth.org Git - apitrace/blobdiff - retrace/glws_cocoa.mm
Disabled code to use Apple software renderer.
[apitrace] / 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]