diff --git a/stepmania/src/arch/LowLevelWindow/LowLevelWindow_Cocoa.mm b/stepmania/src/arch/LowLevelWindow/LowLevelWindow_Cocoa.mm index 7b65bd7055..248e542a83 100644 --- a/stepmania/src/arch/LowLevelWindow/LowLevelWindow_Cocoa.mm +++ b/stepmania/src/arch/LowLevelWindow/LowLevelWindow_Cocoa.mm @@ -53,21 +53,6 @@ public: } @end -static NSOpenGLPixelFormat *CreatePixelFormat( int bbp, bool windowed ) -{ - NSOpenGLPixelFormatAttribute attrs[] = { - NSOpenGLPFANoRecovery, // so we can share with the full screen context - NSOpenGLPFADoubleBuffer, - NSOpenGLPFAAccelerated, - NSOpenGLPFADepthSize, NSOpenGLPixelFormatAttribute(16), - NSOpenGLPFAColorSize, NSOpenGLPixelFormatAttribute(bbp == 16 ? 16 : 24), - NSOpenGLPixelFormatAttribute(0) - }; - - return [[[NSOpenGLPixelFormat alloc] initWithAttributes:attrs] autorelease]; -} - - LowLevelWindow_Cocoa::LowLevelWindow_Cocoa() : mView(nil), mFullScreenContext(nil), mCurrentDisplayMode(NULL) { POOL;