opengl32: Make the script default to version 1.1. Remove the glGetLevelParameter stubs.

This commit is contained in:
Alexandre Julliard 2009-06-11 11:53:40 +02:00
parent ab20785b1b
commit cd8f5c86ef
2 changed files with 3 additions and 7 deletions

View file

@ -22,7 +22,7 @@ use strict;
# http://oss.sgi.com/cgi-bin/cvsweb.cgi/projects/ogl-sample/main/doc/registry/specs/
#
# - opengl_version is the OpenGL version emulated by the library
# (can be 1.0 to 1.5). The default is 1.2.
# (can be 1.0 to 1.5). The default is 1.1.
#
# This script generates the three following files :
#
@ -314,7 +314,7 @@ if (@ARGV > 1) {
$name0=~s%^.*/%%;
die "Usage: $name0 [version]\n";
}
my $version = $ARGV[0] || "1.2";
my $version = $ARGV[0] || "1.1";
if ($version eq "1.0") {
%norm_categories = %cat_1_0;
} elsif ($version eq "1.1") {
@ -644,9 +644,7 @@ foreach (sort keys %norm_functions) {
print SPEC ") wine_$func_name\n";
}
print SPEC "@ stub glGetLevelParameterfv
@ stub glGetLevelParameteriv
@ stdcall wglChoosePixelFormat(long ptr) gdi32.ChoosePixelFormat
print SPEC "@ stdcall wglChoosePixelFormat(long ptr) gdi32.ChoosePixelFormat
@ stdcall wglCopyContext(long long long) gdi32.wglCopyContext
@ stdcall wglCreateContext(long) gdi32.wglCreateContext
@ stdcall wglCreateLayerContext(long long)

View file

@ -334,8 +334,6 @@
@ stdcall glVertex4sv( ptr ) wine_glVertex4sv
@ stdcall glVertexPointer( long long long ptr ) wine_glVertexPointer
@ stdcall glViewport( long long long long ) wine_glViewport
@ stub glGetLevelParameterfv
@ stub glGetLevelParameteriv
@ stdcall wglChoosePixelFormat(long ptr) gdi32.ChoosePixelFormat
@ stdcall wglCopyContext(long long long) gdi32.wglCopyContext
@ stdcall wglCreateContext(long) gdi32.wglCreateContext