0026822: Visualization, OpenGl_Texture - fix compilation issue on Android due to...
[occt.git] / src / OpenGl / OpenGl_Font.cxx
index dec6cf1..977ecb1 100755 (executable)
@@ -139,7 +139,7 @@ bool OpenGl_Font::createTexture (const Handle(OpenGl_Context)& theCtx)
     aMsg += "x";
     aMsg += aTextureSizeY;
     aMsg += " for textured font has failed.";
-    theCtx->PushMessage (GL_DEBUG_SOURCE_APPLICATION_ARB, GL_DEBUG_TYPE_ERROR_ARB, 0, GL_DEBUG_SEVERITY_HIGH_ARB, aMsg);
+    theCtx->PushMessage (GL_DEBUG_SOURCE_APPLICATION, GL_DEBUG_TYPE_ERROR, 0, GL_DEBUG_SEVERITY_HIGH, aMsg);
     return false;
   }