From: José Fonseca Date: Tue, 16 Oct 2012 16:35:18 +0000 (+0100) Subject: Disabled code to use Apple software renderer. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=8ced2ed6d5590c59d8a04e2c3997dd2eb3375dd8;p=apitrace Disabled code to use Apple software renderer. --- diff --git a/retrace/glws_cocoa.mm b/retrace/glws_cocoa.mm index 2ac3091..245ea4f 100644 --- a/retrace/glws_cocoa.mm +++ b/retrace/glws_cocoa.mm @@ -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]