From 0b60036e440dc10db05866c3d8e21c67b688bbc8 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 4 Jul 2013 16:09:44 +0200 Subject: [PATCH] (OSX BasicOpenGLView) Get rid of GL bloat --- osx/BasicOpenGLView.m | 7 ------- 1 file changed, 7 deletions(-) diff --git a/osx/BasicOpenGLView.m b/osx/BasicOpenGLView.m index 65ee565096..3f555e6632 100755 --- a/osx/BasicOpenGLView.m +++ b/osx/BasicOpenGLView.m @@ -462,13 +462,6 @@ GLenum glReportError (void) [[self openGLContext] setValues:&swapInt forParameter:NSOpenGLCPSwapInterval]; // set to vbl sync - // init GL stuff here - glShadeModel(GL_SMOOTH); - glEnable(GL_CULL_FACE); - glFrontFace(GL_CCW); - glPolygonOffset (1.0f, 1.0f); - - glClearColor(0.0f, 0.0f, 0.0f, 0.0f); [self resetCamera]; shapeSize = 7.0f; // max radius of of objects