Remove unused.

This commit is contained in:
Steve Checkoway
2006-01-15 11:07:30 +00:00
parent c4206ef3f7
commit d42617abf1
@@ -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;