From d42617abf1778b1b2eea9b0312bb933102d32805 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 15 Jan 2006 11:07:30 +0000 Subject: [PATCH] Remove unused. --- .../arch/LowLevelWindow/LowLevelWindow_Cocoa.mm | 15 --------------- 1 file changed, 15 deletions(-) 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;