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 66e1fb9..77eb19c 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;