]> OCCT Git - occt-copy.git/commitdiff
0024148: Test case bugs/vis/bug24131_markers works wrong with software MS OpenGL
authorkgv <kgv@opencascade.com>
Mon, 30 Sep 2013 07:01:38 +0000 (11:01 +0400)
committerbugmaster <bugmaster@opencascade.com>
Mon, 30 Sep 2013 07:39:12 +0000 (11:39 +0400)
Fix misprint in OpenGl_Window aGLForma -> aGLFormat

src/OpenGl/OpenGl_Window_1.mm

index 8812a1e82590937ea841fde111d618fa4af13a88..8c79bb7865fda9b1b2f719d0ba2af5dee59dbaa5 100644 (file)
@@ -84,7 +84,7 @@ OpenGl_Window::OpenGl_Window (const Handle(OpenGl_Display)& theDisplay,
    && theCaps->contextStereo)
   {
     anAttribs[0] = aDummyAttrib;
-    aGLForma     = [[[NSOpenGLPixelFormat alloc] initWithAttributes: anAttribs] autorelease];
+    aGLFormat    = [[[NSOpenGLPixelFormat alloc] initWithAttributes: anAttribs] autorelease];
     aGLContext   = [[NSOpenGLContext alloc] initWithFormat: aGLFormat
                                               shareContext: aGLCtxShare];
   }