Upgrade OpenGL thunks with latest version of OpenGL extension

registry.
oldstable
Lionel Ulmer 2003-06-13 16:31:17 +00:00 committed by Alexandre Julliard
parent 7614f27f3b
commit 9ac8ba1589
2 changed files with 1011 additions and 29 deletions

View File

@ -107,6 +107,9 @@ $gen_traces = 1;
"GLubyte" => "%d",
"GLuint" => "%d",
"GLushort" => "%d",
"GLhalfNV" => "%d",
"GLintptrARB" => "%d",
"GLsizeiptrARB" => "%d",
"GLvoid" => "(void)",
"_GLfuncptr" => "%p");
@ -130,6 +133,9 @@ $gen_traces = 1;
"GLubyte" => [ "long", 4 ],
"GLuint" => [ "long", 4 ],
"GLushort" => [ "long", 4 ],
"GLhalfNV" => [ "long", 4 ],
"GLintptrARB" => [ "long", 4 ],
"GLsizeiptrARB" => [ "long", 4 ],
"GLvoid" => [ "void", 4 ],
"_GLfuncptr" => [ "ptr", 4 ]);
@ -230,8 +236,10 @@ open(REGISTRY, $registry_path . "/gl.spec") || die "Could not open 'gl.spec'. Pl
#
%pseudo_to_opengl = ();
while ($line = <TYPES>) {
($pseudo, $opengl) = ($line =~ /(\w*),\*,\*,\s*(.*),\*,\*/);
$pseudo_to_opengl{$pseudo} = $opengl;
if ($line !~ /\w*\#/) {
($pseudo, $opengl) = ($line =~ /(\w*),\*,\*,\s*(.*),\*,\*/);
$pseudo_to_opengl{$pseudo} = $opengl;
}
}
# This is to override the 'void' -> '*' bogus conversion
$pseudo_to_opengl{"void"} = "void";
@ -595,6 +603,10 @@ typedef const GLubyte * GLstring;
WINE_DEFAULT_DEBUG_CHANNEL(opengl);
typedef ptrdiff_t GLintptrARB;
typedef ptrdiff_t GLsizeiptrARB;
typedef unsigned short GLhalfNV;
";
# First, generate the function pointers

File diff suppressed because it is too large Load Diff