]> OCCT Git - occt-copy.git/commitdiff
Eliminating problem of TKOpenGl compilation
authorbugmaster <bugmaster@opencascade.com>
Thu, 5 Mar 2015 14:11:08 +0000 (17:11 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 5 Mar 2015 14:11:08 +0000 (17:11 +0300)
src/OpenGl/OpenGl_Context.cxx

index 66e1fb91b51712ed4a60192ca3d08cc99438165c..77eb19c7dc03310e752155115a278e0069a30996 100644 (file)
@@ -130,7 +130,7 @@ OpenGl_Context::OpenGl_Context (const Handle(OpenGl_Caps)& theCaps)
 #if defined(HAVE_EGL)
   myDisplay  = (Aspect_Display          )EGL_NO_DISPLAY;
   myWindow   = (Aspect_Drawable         )EGL_NO_SURFACE;
-  myGContext = (Aspect_RenderingContext )EGL_NO_CONTEXT);
+  myGContext = (Aspect_RenderingContext )EGL_NO_CONTEXT;
 #elif defined(_WIN32)
   myWindow   = NULL;
   myWindowDC = NULL;