0024732: OpenGl_Context - retrieve functions up to GL4.4
[occt.git] / src / OpenGl / OpenGl_TextureBufferArb.cxx
index 7596655..4f06828 100644 (file)
@@ -121,7 +121,7 @@ bool OpenGl_TextureBufferArb::Init (const Handle(OpenGl_Context)& theGlCtx,
 
   Bind (theGlCtx);
   BindTexture (theGlCtx);
-  theGlCtx->arbTBO->glTexBufferARB (GetTarget(), myTexFormat, myBufferId);
+  theGlCtx->arbTBO->glTexBuffer (GetTarget(), myTexFormat, myBufferId);
   UnbindTexture (theGlCtx);
   Unbind (theGlCtx);
   return true;