[GL] Added int overload to DrawElements for OpenGL4
authorthefiddler <stapostol@gmail.com>
Tue, 2 Sep 2014 07:58:29 +0000 (09:58 +0200)
committerthefiddler <stapostol@gmail.com>
Tue, 2 Sep 2014 08:54:31 +0000 (10:54 +0200)
Source/Bind/Specifications/GL2/overrides.xml

index 6292038..0bf15e8 100644 (file)
   </replace>
 
   <overload name="glcore">
+    <!-- For symmetry with gl namespace (issue #171) -->
+    <function name="DrawElements" extension="Core">
+      <param name="indices">
+        <type>int</type>
+      </param>
+    </function>
+    <!-- For backwards compatibility -->
     <function name="GetObjectLabel" extension="Core" obsolete="Use out overload instead">
       <param name="length">
         <count>0</count>