Added glDeleteObjectBufferATI function.
Fix for types that have a common root.
diff --git a/dlls/opengl32/make_opengl b/dlls/opengl32/make_opengl
index ce5f689..61e02e8 100755
--- a/dlls/opengl32/make_opengl
+++ b/dlls/opengl32/make_opengl
@@ -167,7 +167,7 @@
"GLcharARB" => "char",
"GLhalfNV" => "unsigned short" );
- foreach $org (keys %hash) {
+ foreach $org (reverse(sort(keys %hash))) {
if ($type =~ /$org/) {
($before, $after) = ($type =~ /^(.*)$org(.*)$/);
return "$before$hash{$org}$after";
@@ -476,7 +476,8 @@
[ "GLfloat", "readfreq" ],
[ "GLfloat", "writefreq"],
[ "GLfloat", "priority" ] ], "glXAllocateMemoryNV" ],
- "wglFreeMemoryNV" => [ "wglFreeMemoryNV", "void", [ [ "GLvoid *", "pointer" ] ], "glXFreeMemoryNV" ]
+ "wglFreeMemoryNV" => [ "wglFreeMemoryNV", "void", [ [ "GLvoid *", "pointer" ] ], "glXFreeMemoryNV" ],
+ "glDeleteObjectBufferATI" => [ "glDeleteObjectBufferATI", "void", [ [ "GLuint", "buffer" ] ], "glDeleteObjectBufferATI" ]
);