0024732: OpenGl_Context - retrieve functions up to GL4.4
[occt.git] / src / OpenGl / OpenGl_ArbIns.hxx
index 4ab923c..39863a6 100644 (file)
 #ifndef _OpenGl_ArbIns_H__
 #define _OpenGl_ArbIns_H__
 
-#include <OpenGl_GlCore12.hxx>
+#include <OpenGl_GlFunctions.hxx>
 
-//! TBO is available on OpenGL 3.0+ hardware
-struct OpenGl_ArbIns
+//! Instancing is available on OpenGL 3.0+ hardware
+struct OpenGl_ArbIns : protected OpenGl_GlFunctions
 {
 
-  PFNGLDRAWARRAYSINSTANCEDARBPROC   glDrawArraysInstancedARB;
-  PFNGLDRAWELEMENTSINSTANCEDARBPROC glDrawElementsInstancedARB;
+  using OpenGl_GlFunctions::glDrawArraysInstanced;
+  using OpenGl_GlFunctions::glDrawElementsInstanced;
 
 };