opengl32: Get rid of wine_ prefix on generated functions.

This commit is contained in:
Alexandre Julliard 2012-11-08 13:45:03 +01:00
parent a3d896897c
commit 2480c9395b
5 changed files with 4978 additions and 4987 deletions

View File

@ -257,7 +257,7 @@ sub GenerateThunk($$$$)
$ret = "$ret * $name (OPENGL32.\@)\n"; $ret = "$ret * $name (OPENGL32.\@)\n";
$ret = "$ret */\n"; $ret = "$ret */\n";
} }
$ret = $ret . ConvertType($func_ref->[0]) . " WINAPI wine_$name( "; $ret = $ret . ConvertType($func_ref->[0]) . " WINAPI $name( ";
for (my $i = 0; $i < @{$func_ref->[1]}; $i++) { for (my $i = 0; $i < @{$func_ref->[1]}; $i++) {
## Quick debug code :-) ## Quick debug code :-)
## print $func_ref->[1]->[$i]->[1] . "\n"; ## print $func_ref->[1]->[$i]->[1] . "\n";
@ -374,13 +374,6 @@ sub get_func_proto($$$)
return $ret; return $ret;
} }
sub get_func_link_name($$)
{
my ($name, $func) = @_;
return $name if ($func->[2] =~ /^WGL_/);
return "wine_$name";
}
# #
# Extract and checks the number of arguments # Extract and checks the number of arguments
# #
@ -885,44 +878,45 @@ close HEADER;
open(SPEC, ">$spec_file"); open(SPEC, ">$spec_file");
foreach (sort keys %norm_functions) { foreach (sort keys %norm_functions) {
print SPEC "@ stdcall $_( "; my $args=" ";
for (my $i = 0; $i < @{$norm_functions{$_}->[1]}; $i++) { for (my $i = 0; $i < @{$norm_functions{$_}->[1]}; $i++) {
my $type = $norm_functions{$_}->[1]->[$i]->[0]; my $type = $norm_functions{$_}->[1]->[$i]->[0];
if ($type =~ /\*/) { if ($type =~ /\*/) {
print SPEC "ptr "; $args .= "ptr ";
} elsif (defined($arg_conv{$type})) { } elsif (defined($arg_conv{$type})) {
print SPEC "$@$arg_conv{$type}[0] "; $args .= "$@$arg_conv{$type}[0] ";
} else { } else {
die "No conversion for GL type $type...\n"; die "No conversion for GL type $type...\n";
} }
} }
print SPEC ") wine_$_\n"; $args = substr($args,1,-1);
print SPEC "@ stdcall $_($args)\n";
} }
print SPEC "@ stdcall wglChoosePixelFormat(long ptr) print SPEC "@ stdcall wglChoosePixelFormat(long ptr)
@ stdcall wglCopyContext(long long long) @ stdcall wglCopyContext(long long long)
@ stdcall wglCreateContext(long) @ stdcall wglCreateContext(long)
@ stdcall wglCreateLayerContext(long long) @ stdcall wglCreateLayerContext(long long)
@ stdcall wglDeleteContext(long) @ stdcall wglDeleteContext(long)
@ stdcall wglDescribeLayerPlane(long long long long ptr) @ stdcall wglDescribeLayerPlane(long long long long ptr)
@ stdcall wglDescribePixelFormat(long long long ptr) @ stdcall wglDescribePixelFormat(long long long ptr)
@ stdcall wglGetCurrentContext() @ stdcall wglGetCurrentContext()
@ stdcall wglGetCurrentDC() @ stdcall wglGetCurrentDC()
@ stub wglGetDefaultProcAddress @ stub wglGetDefaultProcAddress
@ stdcall wglGetLayerPaletteEntries(long long long long ptr) @ stdcall wglGetLayerPaletteEntries(long long long long ptr)
@ stdcall wglGetPixelFormat(long) @ stdcall wglGetPixelFormat(long)
@ stdcall wglGetProcAddress(str) @ stdcall wglGetProcAddress(str)
@ stdcall wglMakeCurrent(long long) @ stdcall wglMakeCurrent(long long)
@ stdcall wglRealizeLayerPalette(long long long) @ stdcall wglRealizeLayerPalette(long long long)
@ stdcall wglSetLayerPaletteEntries(long long long long ptr) @ stdcall wglSetLayerPaletteEntries(long long long long ptr)
@ stdcall wglSetPixelFormat(long long ptr) @ stdcall wglSetPixelFormat(long long ptr)
@ stdcall wglShareLists(long long) @ stdcall wglShareLists(long long)
@ stdcall wglSwapBuffers(long) @ stdcall wglSwapBuffers(long)
@ stdcall wglSwapLayerBuffers(long long) @ stdcall wglSwapLayerBuffers(long long)
@ stdcall wglUseFontBitmapsA(long long long long) @ stdcall wglUseFontBitmapsA(long long long long)
@ stdcall wglUseFontBitmapsW(long long long long) @ stdcall wglUseFontBitmapsW(long long long long)
@ stdcall wglUseFontOutlinesA(long long long long long long long ptr) @ stdcall wglUseFontOutlinesA(long long long long long long long ptr)
@ stdcall wglUseFontOutlinesW(long long long long long long long ptr) @ stdcall wglUseFontOutlinesW(long long long long long long long ptr)
"; ";
close(SPEC); close(SPEC);
@ -1005,8 +999,7 @@ print EXT "\nconst OpenGL_extension extension_registry[$count] = {\n";
my $i = 0; my $i = 0;
foreach (sort keys %ext_functions) { foreach (sort keys %ext_functions) {
my $func_ref = $ext_functions{$_}; my $func_ref = $ext_functions{$_};
my $link_name = get_func_link_name( $_, $func_ref ); print EXT " { \"$_\", \"$func_ref->[2]\", $_ }";
print EXT " { \"$_\", \"$func_ref->[2]\", $link_name }";
if ($i != $count-1) { if ($i != $count-1) {
print EXT ","; print EXT ",";
} }

View File

@ -1,361 +1,361 @@
@ stdcall glAccum( long float ) wine_glAccum @ stdcall glAccum(long float)
@ stdcall glAlphaFunc( long float ) wine_glAlphaFunc @ stdcall glAlphaFunc(long float)
@ stdcall glAreTexturesResident( long ptr ptr ) wine_glAreTexturesResident @ stdcall glAreTexturesResident(long ptr ptr)
@ stdcall glArrayElement( long ) wine_glArrayElement @ stdcall glArrayElement(long)
@ stdcall glBegin( long ) wine_glBegin @ stdcall glBegin(long)
@ stdcall glBindTexture( long long ) wine_glBindTexture @ stdcall glBindTexture(long long)
@ stdcall glBitmap( long long float float float float ptr ) wine_glBitmap @ stdcall glBitmap(long long float float float float ptr)
@ stdcall glBlendFunc( long long ) wine_glBlendFunc @ stdcall glBlendFunc(long long)
@ stdcall glCallList( long ) wine_glCallList @ stdcall glCallList(long)
@ stdcall glCallLists( long long ptr ) wine_glCallLists @ stdcall glCallLists(long long ptr)
@ stdcall glClear( long ) wine_glClear @ stdcall glClear(long)
@ stdcall glClearAccum( float float float float ) wine_glClearAccum @ stdcall glClearAccum(float float float float)
@ stdcall glClearColor( float float float float ) wine_glClearColor @ stdcall glClearColor(float float float float)
@ stdcall glClearDepth( double ) wine_glClearDepth @ stdcall glClearDepth(double)
@ stdcall glClearIndex( float ) wine_glClearIndex @ stdcall glClearIndex(float)
@ stdcall glClearStencil( long ) wine_glClearStencil @ stdcall glClearStencil(long)
@ stdcall glClipPlane( long ptr ) wine_glClipPlane @ stdcall glClipPlane(long ptr)
@ stdcall glColor3b( long long long ) wine_glColor3b @ stdcall glColor3b(long long long)
@ stdcall glColor3bv( ptr ) wine_glColor3bv @ stdcall glColor3bv(ptr)
@ stdcall glColor3d( double double double ) wine_glColor3d @ stdcall glColor3d(double double double)
@ stdcall glColor3dv( ptr ) wine_glColor3dv @ stdcall glColor3dv(ptr)
@ stdcall glColor3f( float float float ) wine_glColor3f @ stdcall glColor3f(float float float)
@ stdcall glColor3fv( ptr ) wine_glColor3fv @ stdcall glColor3fv(ptr)
@ stdcall glColor3i( long long long ) wine_glColor3i @ stdcall glColor3i(long long long)
@ stdcall glColor3iv( ptr ) wine_glColor3iv @ stdcall glColor3iv(ptr)
@ stdcall glColor3s( long long long ) wine_glColor3s @ stdcall glColor3s(long long long)
@ stdcall glColor3sv( ptr ) wine_glColor3sv @ stdcall glColor3sv(ptr)
@ stdcall glColor3ub( long long long ) wine_glColor3ub @ stdcall glColor3ub(long long long)
@ stdcall glColor3ubv( ptr ) wine_glColor3ubv @ stdcall glColor3ubv(ptr)
@ stdcall glColor3ui( long long long ) wine_glColor3ui @ stdcall glColor3ui(long long long)
@ stdcall glColor3uiv( ptr ) wine_glColor3uiv @ stdcall glColor3uiv(ptr)
@ stdcall glColor3us( long long long ) wine_glColor3us @ stdcall glColor3us(long long long)
@ stdcall glColor3usv( ptr ) wine_glColor3usv @ stdcall glColor3usv(ptr)
@ stdcall glColor4b( long long long long ) wine_glColor4b @ stdcall glColor4b(long long long long)
@ stdcall glColor4bv( ptr ) wine_glColor4bv @ stdcall glColor4bv(ptr)
@ stdcall glColor4d( double double double double ) wine_glColor4d @ stdcall glColor4d(double double double double)
@ stdcall glColor4dv( ptr ) wine_glColor4dv @ stdcall glColor4dv(ptr)
@ stdcall glColor4f( float float float float ) wine_glColor4f @ stdcall glColor4f(float float float float)
@ stdcall glColor4fv( ptr ) wine_glColor4fv @ stdcall glColor4fv(ptr)
@ stdcall glColor4i( long long long long ) wine_glColor4i @ stdcall glColor4i(long long long long)
@ stdcall glColor4iv( ptr ) wine_glColor4iv @ stdcall glColor4iv(ptr)
@ stdcall glColor4s( long long long long ) wine_glColor4s @ stdcall glColor4s(long long long long)
@ stdcall glColor4sv( ptr ) wine_glColor4sv @ stdcall glColor4sv(ptr)
@ stdcall glColor4ub( long long long long ) wine_glColor4ub @ stdcall glColor4ub(long long long long)
@ stdcall glColor4ubv( ptr ) wine_glColor4ubv @ stdcall glColor4ubv(ptr)
@ stdcall glColor4ui( long long long long ) wine_glColor4ui @ stdcall glColor4ui(long long long long)
@ stdcall glColor4uiv( ptr ) wine_glColor4uiv @ stdcall glColor4uiv(ptr)
@ stdcall glColor4us( long long long long ) wine_glColor4us @ stdcall glColor4us(long long long long)
@ stdcall glColor4usv( ptr ) wine_glColor4usv @ stdcall glColor4usv(ptr)
@ stdcall glColorMask( long long long long ) wine_glColorMask @ stdcall glColorMask(long long long long)
@ stdcall glColorMaterial( long long ) wine_glColorMaterial @ stdcall glColorMaterial(long long)
@ stdcall glColorPointer( long long long ptr ) wine_glColorPointer @ stdcall glColorPointer(long long long ptr)
@ stdcall glCopyPixels( long long long long long ) wine_glCopyPixels @ stdcall glCopyPixels(long long long long long)
@ stdcall glCopyTexImage1D( long long long long long long long ) wine_glCopyTexImage1D @ stdcall glCopyTexImage1D(long long long long long long long)
@ stdcall glCopyTexImage2D( long long long long long long long long ) wine_glCopyTexImage2D @ stdcall glCopyTexImage2D(long long long long long long long long)
@ stdcall glCopyTexSubImage1D( long long long long long long ) wine_glCopyTexSubImage1D @ stdcall glCopyTexSubImage1D(long long long long long long)
@ stdcall glCopyTexSubImage2D( long long long long long long long long ) wine_glCopyTexSubImage2D @ stdcall glCopyTexSubImage2D(long long long long long long long long)
@ stdcall glCullFace( long ) wine_glCullFace @ stdcall glCullFace(long)
@ stdcall glDebugEntry( long long ) wine_glDebugEntry @ stdcall glDebugEntry(long long)
@ stdcall glDeleteLists( long long ) wine_glDeleteLists @ stdcall glDeleteLists(long long)
@ stdcall glDeleteTextures( long ptr ) wine_glDeleteTextures @ stdcall glDeleteTextures(long ptr)
@ stdcall glDepthFunc( long ) wine_glDepthFunc @ stdcall glDepthFunc(long)
@ stdcall glDepthMask( long ) wine_glDepthMask @ stdcall glDepthMask(long)
@ stdcall glDepthRange( double double ) wine_glDepthRange @ stdcall glDepthRange(double double)
@ stdcall glDisable( long ) wine_glDisable @ stdcall glDisable(long)
@ stdcall glDisableClientState( long ) wine_glDisableClientState @ stdcall glDisableClientState(long)
@ stdcall glDrawArrays( long long long ) wine_glDrawArrays @ stdcall glDrawArrays(long long long)
@ stdcall glDrawBuffer( long ) wine_glDrawBuffer @ stdcall glDrawBuffer(long)
@ stdcall glDrawElements( long long long ptr ) wine_glDrawElements @ stdcall glDrawElements(long long long ptr)
@ stdcall glDrawPixels( long long long long ptr ) wine_glDrawPixels @ stdcall glDrawPixels(long long long long ptr)
@ stdcall glEdgeFlag( long ) wine_glEdgeFlag @ stdcall glEdgeFlag(long)
@ stdcall glEdgeFlagPointer( long ptr ) wine_glEdgeFlagPointer @ stdcall glEdgeFlagPointer(long ptr)
@ stdcall glEdgeFlagv( ptr ) wine_glEdgeFlagv @ stdcall glEdgeFlagv(ptr)
@ stdcall glEnable( long ) wine_glEnable @ stdcall glEnable(long)
@ stdcall glEnableClientState( long ) wine_glEnableClientState @ stdcall glEnableClientState(long)
@ stdcall glEnd( ) wine_glEnd @ stdcall glEnd()
@ stdcall glEndList( ) wine_glEndList @ stdcall glEndList()
@ stdcall glEvalCoord1d( double ) wine_glEvalCoord1d @ stdcall glEvalCoord1d(double)
@ stdcall glEvalCoord1dv( ptr ) wine_glEvalCoord1dv @ stdcall glEvalCoord1dv(ptr)
@ stdcall glEvalCoord1f( float ) wine_glEvalCoord1f @ stdcall glEvalCoord1f(float)
@ stdcall glEvalCoord1fv( ptr ) wine_glEvalCoord1fv @ stdcall glEvalCoord1fv(ptr)
@ stdcall glEvalCoord2d( double double ) wine_glEvalCoord2d @ stdcall glEvalCoord2d(double double)
@ stdcall glEvalCoord2dv( ptr ) wine_glEvalCoord2dv @ stdcall glEvalCoord2dv(ptr)
@ stdcall glEvalCoord2f( float float ) wine_glEvalCoord2f @ stdcall glEvalCoord2f(float float)
@ stdcall glEvalCoord2fv( ptr ) wine_glEvalCoord2fv @ stdcall glEvalCoord2fv(ptr)
@ stdcall glEvalMesh1( long long long ) wine_glEvalMesh1 @ stdcall glEvalMesh1(long long long)
@ stdcall glEvalMesh2( long long long long long ) wine_glEvalMesh2 @ stdcall glEvalMesh2(long long long long long)
@ stdcall glEvalPoint1( long ) wine_glEvalPoint1 @ stdcall glEvalPoint1(long)
@ stdcall glEvalPoint2( long long ) wine_glEvalPoint2 @ stdcall glEvalPoint2(long long)
@ stdcall glFeedbackBuffer( long long ptr ) wine_glFeedbackBuffer @ stdcall glFeedbackBuffer(long long ptr)
@ stdcall glFinish( ) wine_glFinish @ stdcall glFinish()
@ stdcall glFlush( ) wine_glFlush @ stdcall glFlush()
@ stdcall glFogf( long float ) wine_glFogf @ stdcall glFogf(long float)
@ stdcall glFogfv( long ptr ) wine_glFogfv @ stdcall glFogfv(long ptr)
@ stdcall glFogi( long long ) wine_glFogi @ stdcall glFogi(long long)
@ stdcall glFogiv( long ptr ) wine_glFogiv @ stdcall glFogiv(long ptr)
@ stdcall glFrontFace( long ) wine_glFrontFace @ stdcall glFrontFace(long)
@ stdcall glFrustum( double double double double double double ) wine_glFrustum @ stdcall glFrustum(double double double double double double)
@ stdcall glGenLists( long ) wine_glGenLists @ stdcall glGenLists(long)
@ stdcall glGenTextures( long ptr ) wine_glGenTextures @ stdcall glGenTextures(long ptr)
@ stdcall glGetBooleanv( long ptr ) wine_glGetBooleanv @ stdcall glGetBooleanv(long ptr)
@ stdcall glGetClipPlane( long ptr ) wine_glGetClipPlane @ stdcall glGetClipPlane(long ptr)
@ stdcall glGetDoublev( long ptr ) wine_glGetDoublev @ stdcall glGetDoublev(long ptr)
@ stdcall glGetError( ) wine_glGetError @ stdcall glGetError()
@ stdcall glGetFloatv( long ptr ) wine_glGetFloatv @ stdcall glGetFloatv(long ptr)
@ stdcall glGetIntegerv( long ptr ) wine_glGetIntegerv @ stdcall glGetIntegerv(long ptr)
@ stdcall glGetLightfv( long long ptr ) wine_glGetLightfv @ stdcall glGetLightfv(long long ptr)
@ stdcall glGetLightiv( long long ptr ) wine_glGetLightiv @ stdcall glGetLightiv(long long ptr)
@ stdcall glGetMapdv( long long ptr ) wine_glGetMapdv @ stdcall glGetMapdv(long long ptr)
@ stdcall glGetMapfv( long long ptr ) wine_glGetMapfv @ stdcall glGetMapfv(long long ptr)
@ stdcall glGetMapiv( long long ptr ) wine_glGetMapiv @ stdcall glGetMapiv(long long ptr)
@ stdcall glGetMaterialfv( long long ptr ) wine_glGetMaterialfv @ stdcall glGetMaterialfv(long long ptr)
@ stdcall glGetMaterialiv( long long ptr ) wine_glGetMaterialiv @ stdcall glGetMaterialiv(long long ptr)
@ stdcall glGetPixelMapfv( long ptr ) wine_glGetPixelMapfv @ stdcall glGetPixelMapfv(long ptr)
@ stdcall glGetPixelMapuiv( long ptr ) wine_glGetPixelMapuiv @ stdcall glGetPixelMapuiv(long ptr)
@ stdcall glGetPixelMapusv( long ptr ) wine_glGetPixelMapusv @ stdcall glGetPixelMapusv(long ptr)
@ stdcall glGetPointerv( long ptr ) wine_glGetPointerv @ stdcall glGetPointerv(long ptr)
@ stdcall glGetPolygonStipple( ptr ) wine_glGetPolygonStipple @ stdcall glGetPolygonStipple(ptr)
@ stdcall glGetString( long ) wine_glGetString @ stdcall glGetString(long)
@ stdcall glGetTexEnvfv( long long ptr ) wine_glGetTexEnvfv @ stdcall glGetTexEnvfv(long long ptr)
@ stdcall glGetTexEnviv( long long ptr ) wine_glGetTexEnviv @ stdcall glGetTexEnviv(long long ptr)
@ stdcall glGetTexGendv( long long ptr ) wine_glGetTexGendv @ stdcall glGetTexGendv(long long ptr)
@ stdcall glGetTexGenfv( long long ptr ) wine_glGetTexGenfv @ stdcall glGetTexGenfv(long long ptr)
@ stdcall glGetTexGeniv( long long ptr ) wine_glGetTexGeniv @ stdcall glGetTexGeniv(long long ptr)
@ stdcall glGetTexImage( long long long long ptr ) wine_glGetTexImage @ stdcall glGetTexImage(long long long long ptr)
@ stdcall glGetTexLevelParameterfv( long long long ptr ) wine_glGetTexLevelParameterfv @ stdcall glGetTexLevelParameterfv(long long long ptr)
@ stdcall glGetTexLevelParameteriv( long long long ptr ) wine_glGetTexLevelParameteriv @ stdcall glGetTexLevelParameteriv(long long long ptr)
@ stdcall glGetTexParameterfv( long long ptr ) wine_glGetTexParameterfv @ stdcall glGetTexParameterfv(long long ptr)
@ stdcall glGetTexParameteriv( long long ptr ) wine_glGetTexParameteriv @ stdcall glGetTexParameteriv(long long ptr)
@ stdcall glHint( long long ) wine_glHint @ stdcall glHint(long long)
@ stdcall glIndexMask( long ) wine_glIndexMask @ stdcall glIndexMask(long)
@ stdcall glIndexPointer( long long ptr ) wine_glIndexPointer @ stdcall glIndexPointer(long long ptr)
@ stdcall glIndexd( double ) wine_glIndexd @ stdcall glIndexd(double)
@ stdcall glIndexdv( ptr ) wine_glIndexdv @ stdcall glIndexdv(ptr)
@ stdcall glIndexf( float ) wine_glIndexf @ stdcall glIndexf(float)
@ stdcall glIndexfv( ptr ) wine_glIndexfv @ stdcall glIndexfv(ptr)
@ stdcall glIndexi( long ) wine_glIndexi @ stdcall glIndexi(long)
@ stdcall glIndexiv( ptr ) wine_glIndexiv @ stdcall glIndexiv(ptr)
@ stdcall glIndexs( long ) wine_glIndexs @ stdcall glIndexs(long)
@ stdcall glIndexsv( ptr ) wine_glIndexsv @ stdcall glIndexsv(ptr)
@ stdcall glIndexub( long ) wine_glIndexub @ stdcall glIndexub(long)
@ stdcall glIndexubv( ptr ) wine_glIndexubv @ stdcall glIndexubv(ptr)
@ stdcall glInitNames( ) wine_glInitNames @ stdcall glInitNames()
@ stdcall glInterleavedArrays( long long ptr ) wine_glInterleavedArrays @ stdcall glInterleavedArrays(long long ptr)
@ stdcall glIsEnabled( long ) wine_glIsEnabled @ stdcall glIsEnabled(long)
@ stdcall glIsList( long ) wine_glIsList @ stdcall glIsList(long)
@ stdcall glIsTexture( long ) wine_glIsTexture @ stdcall glIsTexture(long)
@ stdcall glLightModelf( long float ) wine_glLightModelf @ stdcall glLightModelf(long float)
@ stdcall glLightModelfv( long ptr ) wine_glLightModelfv @ stdcall glLightModelfv(long ptr)
@ stdcall glLightModeli( long long ) wine_glLightModeli @ stdcall glLightModeli(long long)
@ stdcall glLightModeliv( long ptr ) wine_glLightModeliv @ stdcall glLightModeliv(long ptr)
@ stdcall glLightf( long long float ) wine_glLightf @ stdcall glLightf(long long float)
@ stdcall glLightfv( long long ptr ) wine_glLightfv @ stdcall glLightfv(long long ptr)
@ stdcall glLighti( long long long ) wine_glLighti @ stdcall glLighti(long long long)
@ stdcall glLightiv( long long ptr ) wine_glLightiv @ stdcall glLightiv(long long ptr)
@ stdcall glLineStipple( long long ) wine_glLineStipple @ stdcall glLineStipple(long long)
@ stdcall glLineWidth( float ) wine_glLineWidth @ stdcall glLineWidth(float)
@ stdcall glListBase( long ) wine_glListBase @ stdcall glListBase(long)
@ stdcall glLoadIdentity( ) wine_glLoadIdentity @ stdcall glLoadIdentity()
@ stdcall glLoadMatrixd( ptr ) wine_glLoadMatrixd @ stdcall glLoadMatrixd(ptr)
@ stdcall glLoadMatrixf( ptr ) wine_glLoadMatrixf @ stdcall glLoadMatrixf(ptr)
@ stdcall glLoadName( long ) wine_glLoadName @ stdcall glLoadName(long)
@ stdcall glLogicOp( long ) wine_glLogicOp @ stdcall glLogicOp(long)
@ stdcall glMap1d( long double double long long ptr ) wine_glMap1d @ stdcall glMap1d(long double double long long ptr)
@ stdcall glMap1f( long float float long long ptr ) wine_glMap1f @ stdcall glMap1f(long float float long long ptr)
@ stdcall glMap2d( long double double long long double double long long ptr ) wine_glMap2d @ stdcall glMap2d(long double double long long double double long long ptr)
@ stdcall glMap2f( long float float long long float float long long ptr ) wine_glMap2f @ stdcall glMap2f(long float float long long float float long long ptr)
@ stdcall glMapGrid1d( long double double ) wine_glMapGrid1d @ stdcall glMapGrid1d(long double double)
@ stdcall glMapGrid1f( long float float ) wine_glMapGrid1f @ stdcall glMapGrid1f(long float float)
@ stdcall glMapGrid2d( long double double long double double ) wine_glMapGrid2d @ stdcall glMapGrid2d(long double double long double double)
@ stdcall glMapGrid2f( long float float long float float ) wine_glMapGrid2f @ stdcall glMapGrid2f(long float float long float float)
@ stdcall glMaterialf( long long float ) wine_glMaterialf @ stdcall glMaterialf(long long float)
@ stdcall glMaterialfv( long long ptr ) wine_glMaterialfv @ stdcall glMaterialfv(long long ptr)
@ stdcall glMateriali( long long long ) wine_glMateriali @ stdcall glMateriali(long long long)
@ stdcall glMaterialiv( long long ptr ) wine_glMaterialiv @ stdcall glMaterialiv(long long ptr)
@ stdcall glMatrixMode( long ) wine_glMatrixMode @ stdcall glMatrixMode(long)
@ stdcall glMultMatrixd( ptr ) wine_glMultMatrixd @ stdcall glMultMatrixd(ptr)
@ stdcall glMultMatrixf( ptr ) wine_glMultMatrixf @ stdcall glMultMatrixf(ptr)
@ stdcall glNewList( long long ) wine_glNewList @ stdcall glNewList(long long)
@ stdcall glNormal3b( long long long ) wine_glNormal3b @ stdcall glNormal3b(long long long)
@ stdcall glNormal3bv( ptr ) wine_glNormal3bv @ stdcall glNormal3bv(ptr)
@ stdcall glNormal3d( double double double ) wine_glNormal3d @ stdcall glNormal3d(double double double)
@ stdcall glNormal3dv( ptr ) wine_glNormal3dv @ stdcall glNormal3dv(ptr)
@ stdcall glNormal3f( float float float ) wine_glNormal3f @ stdcall glNormal3f(float float float)
@ stdcall glNormal3fv( ptr ) wine_glNormal3fv @ stdcall glNormal3fv(ptr)
@ stdcall glNormal3i( long long long ) wine_glNormal3i @ stdcall glNormal3i(long long long)
@ stdcall glNormal3iv( ptr ) wine_glNormal3iv @ stdcall glNormal3iv(ptr)
@ stdcall glNormal3s( long long long ) wine_glNormal3s @ stdcall glNormal3s(long long long)
@ stdcall glNormal3sv( ptr ) wine_glNormal3sv @ stdcall glNormal3sv(ptr)
@ stdcall glNormalPointer( long long ptr ) wine_glNormalPointer @ stdcall glNormalPointer(long long ptr)
@ stdcall glOrtho( double double double double double double ) wine_glOrtho @ stdcall glOrtho(double double double double double double)
@ stdcall glPassThrough( float ) wine_glPassThrough @ stdcall glPassThrough(float)
@ stdcall glPixelMapfv( long long ptr ) wine_glPixelMapfv @ stdcall glPixelMapfv(long long ptr)
@ stdcall glPixelMapuiv( long long ptr ) wine_glPixelMapuiv @ stdcall glPixelMapuiv(long long ptr)
@ stdcall glPixelMapusv( long long ptr ) wine_glPixelMapusv @ stdcall glPixelMapusv(long long ptr)
@ stdcall glPixelStoref( long float ) wine_glPixelStoref @ stdcall glPixelStoref(long float)
@ stdcall glPixelStorei( long long ) wine_glPixelStorei @ stdcall glPixelStorei(long long)
@ stdcall glPixelTransferf( long float ) wine_glPixelTransferf @ stdcall glPixelTransferf(long float)
@ stdcall glPixelTransferi( long long ) wine_glPixelTransferi @ stdcall glPixelTransferi(long long)
@ stdcall glPixelZoom( float float ) wine_glPixelZoom @ stdcall glPixelZoom(float float)
@ stdcall glPointSize( float ) wine_glPointSize @ stdcall glPointSize(float)
@ stdcall glPolygonMode( long long ) wine_glPolygonMode @ stdcall glPolygonMode(long long)
@ stdcall glPolygonOffset( float float ) wine_glPolygonOffset @ stdcall glPolygonOffset(float float)
@ stdcall glPolygonStipple( ptr ) wine_glPolygonStipple @ stdcall glPolygonStipple(ptr)
@ stdcall glPopAttrib( ) wine_glPopAttrib @ stdcall glPopAttrib()
@ stdcall glPopClientAttrib( ) wine_glPopClientAttrib @ stdcall glPopClientAttrib()
@ stdcall glPopMatrix( ) wine_glPopMatrix @ stdcall glPopMatrix()
@ stdcall glPopName( ) wine_glPopName @ stdcall glPopName()
@ stdcall glPrioritizeTextures( long ptr ptr ) wine_glPrioritizeTextures @ stdcall glPrioritizeTextures(long ptr ptr)
@ stdcall glPushAttrib( long ) wine_glPushAttrib @ stdcall glPushAttrib(long)
@ stdcall glPushClientAttrib( long ) wine_glPushClientAttrib @ stdcall glPushClientAttrib(long)
@ stdcall glPushMatrix( ) wine_glPushMatrix @ stdcall glPushMatrix()
@ stdcall glPushName( long ) wine_glPushName @ stdcall glPushName(long)
@ stdcall glRasterPos2d( double double ) wine_glRasterPos2d @ stdcall glRasterPos2d(double double)
@ stdcall glRasterPos2dv( ptr ) wine_glRasterPos2dv @ stdcall glRasterPos2dv(ptr)
@ stdcall glRasterPos2f( float float ) wine_glRasterPos2f @ stdcall glRasterPos2f(float float)
@ stdcall glRasterPos2fv( ptr ) wine_glRasterPos2fv @ stdcall glRasterPos2fv(ptr)
@ stdcall glRasterPos2i( long long ) wine_glRasterPos2i @ stdcall glRasterPos2i(long long)
@ stdcall glRasterPos2iv( ptr ) wine_glRasterPos2iv @ stdcall glRasterPos2iv(ptr)
@ stdcall glRasterPos2s( long long ) wine_glRasterPos2s @ stdcall glRasterPos2s(long long)
@ stdcall glRasterPos2sv( ptr ) wine_glRasterPos2sv @ stdcall glRasterPos2sv(ptr)
@ stdcall glRasterPos3d( double double double ) wine_glRasterPos3d @ stdcall glRasterPos3d(double double double)
@ stdcall glRasterPos3dv( ptr ) wine_glRasterPos3dv @ stdcall glRasterPos3dv(ptr)
@ stdcall glRasterPos3f( float float float ) wine_glRasterPos3f @ stdcall glRasterPos3f(float float float)
@ stdcall glRasterPos3fv( ptr ) wine_glRasterPos3fv @ stdcall glRasterPos3fv(ptr)
@ stdcall glRasterPos3i( long long long ) wine_glRasterPos3i @ stdcall glRasterPos3i(long long long)
@ stdcall glRasterPos3iv( ptr ) wine_glRasterPos3iv @ stdcall glRasterPos3iv(ptr)
@ stdcall glRasterPos3s( long long long ) wine_glRasterPos3s @ stdcall glRasterPos3s(long long long)
@ stdcall glRasterPos3sv( ptr ) wine_glRasterPos3sv @ stdcall glRasterPos3sv(ptr)
@ stdcall glRasterPos4d( double double double double ) wine_glRasterPos4d @ stdcall glRasterPos4d(double double double double)
@ stdcall glRasterPos4dv( ptr ) wine_glRasterPos4dv @ stdcall glRasterPos4dv(ptr)
@ stdcall glRasterPos4f( float float float float ) wine_glRasterPos4f @ stdcall glRasterPos4f(float float float float)
@ stdcall glRasterPos4fv( ptr ) wine_glRasterPos4fv @ stdcall glRasterPos4fv(ptr)
@ stdcall glRasterPos4i( long long long long ) wine_glRasterPos4i @ stdcall glRasterPos4i(long long long long)
@ stdcall glRasterPos4iv( ptr ) wine_glRasterPos4iv @ stdcall glRasterPos4iv(ptr)
@ stdcall glRasterPos4s( long long long long ) wine_glRasterPos4s @ stdcall glRasterPos4s(long long long long)
@ stdcall glRasterPos4sv( ptr ) wine_glRasterPos4sv @ stdcall glRasterPos4sv(ptr)
@ stdcall glReadBuffer( long ) wine_glReadBuffer @ stdcall glReadBuffer(long)
@ stdcall glReadPixels( long long long long long long ptr ) wine_glReadPixels @ stdcall glReadPixels(long long long long long long ptr)
@ stdcall glRectd( double double double double ) wine_glRectd @ stdcall glRectd(double double double double)
@ stdcall glRectdv( ptr ptr ) wine_glRectdv @ stdcall glRectdv(ptr ptr)
@ stdcall glRectf( float float float float ) wine_glRectf @ stdcall glRectf(float float float float)
@ stdcall glRectfv( ptr ptr ) wine_glRectfv @ stdcall glRectfv(ptr ptr)
@ stdcall glRecti( long long long long ) wine_glRecti @ stdcall glRecti(long long long long)
@ stdcall glRectiv( ptr ptr ) wine_glRectiv @ stdcall glRectiv(ptr ptr)
@ stdcall glRects( long long long long ) wine_glRects @ stdcall glRects(long long long long)
@ stdcall glRectsv( ptr ptr ) wine_glRectsv @ stdcall glRectsv(ptr ptr)
@ stdcall glRenderMode( long ) wine_glRenderMode @ stdcall glRenderMode(long)
@ stdcall glRotated( double double double double ) wine_glRotated @ stdcall glRotated(double double double double)
@ stdcall glRotatef( float float float float ) wine_glRotatef @ stdcall glRotatef(float float float float)
@ stdcall glScaled( double double double ) wine_glScaled @ stdcall glScaled(double double double)
@ stdcall glScalef( float float float ) wine_glScalef @ stdcall glScalef(float float float)
@ stdcall glScissor( long long long long ) wine_glScissor @ stdcall glScissor(long long long long)
@ stdcall glSelectBuffer( long ptr ) wine_glSelectBuffer @ stdcall glSelectBuffer(long ptr)
@ stdcall glShadeModel( long ) wine_glShadeModel @ stdcall glShadeModel(long)
@ stdcall glStencilFunc( long long long ) wine_glStencilFunc @ stdcall glStencilFunc(long long long)
@ stdcall glStencilMask( long ) wine_glStencilMask @ stdcall glStencilMask(long)
@ stdcall glStencilOp( long long long ) wine_glStencilOp @ stdcall glStencilOp(long long long)
@ stdcall glTexCoord1d( double ) wine_glTexCoord1d @ stdcall glTexCoord1d(double)
@ stdcall glTexCoord1dv( ptr ) wine_glTexCoord1dv @ stdcall glTexCoord1dv(ptr)
@ stdcall glTexCoord1f( float ) wine_glTexCoord1f @ stdcall glTexCoord1f(float)
@ stdcall glTexCoord1fv( ptr ) wine_glTexCoord1fv @ stdcall glTexCoord1fv(ptr)
@ stdcall glTexCoord1i( long ) wine_glTexCoord1i @ stdcall glTexCoord1i(long)
@ stdcall glTexCoord1iv( ptr ) wine_glTexCoord1iv @ stdcall glTexCoord1iv(ptr)
@ stdcall glTexCoord1s( long ) wine_glTexCoord1s @ stdcall glTexCoord1s(long)
@ stdcall glTexCoord1sv( ptr ) wine_glTexCoord1sv @ stdcall glTexCoord1sv(ptr)
@ stdcall glTexCoord2d( double double ) wine_glTexCoord2d @ stdcall glTexCoord2d(double double)
@ stdcall glTexCoord2dv( ptr ) wine_glTexCoord2dv @ stdcall glTexCoord2dv(ptr)
@ stdcall glTexCoord2f( float float ) wine_glTexCoord2f @ stdcall glTexCoord2f(float float)
@ stdcall glTexCoord2fv( ptr ) wine_glTexCoord2fv @ stdcall glTexCoord2fv(ptr)
@ stdcall glTexCoord2i( long long ) wine_glTexCoord2i @ stdcall glTexCoord2i(long long)
@ stdcall glTexCoord2iv( ptr ) wine_glTexCoord2iv @ stdcall glTexCoord2iv(ptr)
@ stdcall glTexCoord2s( long long ) wine_glTexCoord2s @ stdcall glTexCoord2s(long long)
@ stdcall glTexCoord2sv( ptr ) wine_glTexCoord2sv @ stdcall glTexCoord2sv(ptr)
@ stdcall glTexCoord3d( double double double ) wine_glTexCoord3d @ stdcall glTexCoord3d(double double double)
@ stdcall glTexCoord3dv( ptr ) wine_glTexCoord3dv @ stdcall glTexCoord3dv(ptr)
@ stdcall glTexCoord3f( float float float ) wine_glTexCoord3f @ stdcall glTexCoord3f(float float float)
@ stdcall glTexCoord3fv( ptr ) wine_glTexCoord3fv @ stdcall glTexCoord3fv(ptr)
@ stdcall glTexCoord3i( long long long ) wine_glTexCoord3i @ stdcall glTexCoord3i(long long long)
@ stdcall glTexCoord3iv( ptr ) wine_glTexCoord3iv @ stdcall glTexCoord3iv(ptr)
@ stdcall glTexCoord3s( long long long ) wine_glTexCoord3s @ stdcall glTexCoord3s(long long long)
@ stdcall glTexCoord3sv( ptr ) wine_glTexCoord3sv @ stdcall glTexCoord3sv(ptr)
@ stdcall glTexCoord4d( double double double double ) wine_glTexCoord4d @ stdcall glTexCoord4d(double double double double)
@ stdcall glTexCoord4dv( ptr ) wine_glTexCoord4dv @ stdcall glTexCoord4dv(ptr)
@ stdcall glTexCoord4f( float float float float ) wine_glTexCoord4f @ stdcall glTexCoord4f(float float float float)
@ stdcall glTexCoord4fv( ptr ) wine_glTexCoord4fv @ stdcall glTexCoord4fv(ptr)
@ stdcall glTexCoord4i( long long long long ) wine_glTexCoord4i @ stdcall glTexCoord4i(long long long long)
@ stdcall glTexCoord4iv( ptr ) wine_glTexCoord4iv @ stdcall glTexCoord4iv(ptr)
@ stdcall glTexCoord4s( long long long long ) wine_glTexCoord4s @ stdcall glTexCoord4s(long long long long)
@ stdcall glTexCoord4sv( ptr ) wine_glTexCoord4sv @ stdcall glTexCoord4sv(ptr)
@ stdcall glTexCoordPointer( long long long ptr ) wine_glTexCoordPointer @ stdcall glTexCoordPointer(long long long ptr)
@ stdcall glTexEnvf( long long float ) wine_glTexEnvf @ stdcall glTexEnvf(long long float)
@ stdcall glTexEnvfv( long long ptr ) wine_glTexEnvfv @ stdcall glTexEnvfv(long long ptr)
@ stdcall glTexEnvi( long long long ) wine_glTexEnvi @ stdcall glTexEnvi(long long long)
@ stdcall glTexEnviv( long long ptr ) wine_glTexEnviv @ stdcall glTexEnviv(long long ptr)
@ stdcall glTexGend( long long double ) wine_glTexGend @ stdcall glTexGend(long long double)
@ stdcall glTexGendv( long long ptr ) wine_glTexGendv @ stdcall glTexGendv(long long ptr)
@ stdcall glTexGenf( long long float ) wine_glTexGenf @ stdcall glTexGenf(long long float)
@ stdcall glTexGenfv( long long ptr ) wine_glTexGenfv @ stdcall glTexGenfv(long long ptr)
@ stdcall glTexGeni( long long long ) wine_glTexGeni @ stdcall glTexGeni(long long long)
@ stdcall glTexGeniv( long long ptr ) wine_glTexGeniv @ stdcall glTexGeniv(long long ptr)
@ stdcall glTexImage1D( long long long long long long long ptr ) wine_glTexImage1D @ stdcall glTexImage1D(long long long long long long long ptr)
@ stdcall glTexImage2D( long long long long long long long long ptr ) wine_glTexImage2D @ stdcall glTexImage2D(long long long long long long long long ptr)
@ stdcall glTexParameterf( long long float ) wine_glTexParameterf @ stdcall glTexParameterf(long long float)
@ stdcall glTexParameterfv( long long ptr ) wine_glTexParameterfv @ stdcall glTexParameterfv(long long ptr)
@ stdcall glTexParameteri( long long long ) wine_glTexParameteri @ stdcall glTexParameteri(long long long)
@ stdcall glTexParameteriv( long long ptr ) wine_glTexParameteriv @ stdcall glTexParameteriv(long long ptr)
@ stdcall glTexSubImage1D( long long long long long long ptr ) wine_glTexSubImage1D @ stdcall glTexSubImage1D(long long long long long long ptr)
@ stdcall glTexSubImage2D( long long long long long long long long ptr ) wine_glTexSubImage2D @ stdcall glTexSubImage2D(long long long long long long long long ptr)
@ stdcall glTranslated( double double double ) wine_glTranslated @ stdcall glTranslated(double double double)
@ stdcall glTranslatef( float float float ) wine_glTranslatef @ stdcall glTranslatef(float float float)
@ stdcall glVertex2d( double double ) wine_glVertex2d @ stdcall glVertex2d(double double)
@ stdcall glVertex2dv( ptr ) wine_glVertex2dv @ stdcall glVertex2dv(ptr)
@ stdcall glVertex2f( float float ) wine_glVertex2f @ stdcall glVertex2f(float float)
@ stdcall glVertex2fv( ptr ) wine_glVertex2fv @ stdcall glVertex2fv(ptr)
@ stdcall glVertex2i( long long ) wine_glVertex2i @ stdcall glVertex2i(long long)
@ stdcall glVertex2iv( ptr ) wine_glVertex2iv @ stdcall glVertex2iv(ptr)
@ stdcall glVertex2s( long long ) wine_glVertex2s @ stdcall glVertex2s(long long)
@ stdcall glVertex2sv( ptr ) wine_glVertex2sv @ stdcall glVertex2sv(ptr)
@ stdcall glVertex3d( double double double ) wine_glVertex3d @ stdcall glVertex3d(double double double)
@ stdcall glVertex3dv( ptr ) wine_glVertex3dv @ stdcall glVertex3dv(ptr)
@ stdcall glVertex3f( float float float ) wine_glVertex3f @ stdcall glVertex3f(float float float)
@ stdcall glVertex3fv( ptr ) wine_glVertex3fv @ stdcall glVertex3fv(ptr)
@ stdcall glVertex3i( long long long ) wine_glVertex3i @ stdcall glVertex3i(long long long)
@ stdcall glVertex3iv( ptr ) wine_glVertex3iv @ stdcall glVertex3iv(ptr)
@ stdcall glVertex3s( long long long ) wine_glVertex3s @ stdcall glVertex3s(long long long)
@ stdcall glVertex3sv( ptr ) wine_glVertex3sv @ stdcall glVertex3sv(ptr)
@ stdcall glVertex4d( double double double double ) wine_glVertex4d @ stdcall glVertex4d(double double double double)
@ stdcall glVertex4dv( ptr ) wine_glVertex4dv @ stdcall glVertex4dv(ptr)
@ stdcall glVertex4f( float float float float ) wine_glVertex4f @ stdcall glVertex4f(float float float float)
@ stdcall glVertex4fv( ptr ) wine_glVertex4fv @ stdcall glVertex4fv(ptr)
@ stdcall glVertex4i( long long long long ) wine_glVertex4i @ stdcall glVertex4i(long long long long)
@ stdcall glVertex4iv( ptr ) wine_glVertex4iv @ stdcall glVertex4iv(ptr)
@ stdcall glVertex4s( long long long long ) wine_glVertex4s @ stdcall glVertex4s(long long long long)
@ stdcall glVertex4sv( ptr ) wine_glVertex4sv @ stdcall glVertex4sv(ptr)
@ stdcall glVertexPointer( long long long ptr ) wine_glVertexPointer @ stdcall glVertexPointer(long long long ptr)
@ stdcall glViewport( long long long long ) wine_glViewport @ stdcall glViewport(long long long long)
@ stdcall wglChoosePixelFormat(long ptr) @ stdcall wglChoosePixelFormat(long ptr)
@ stdcall wglCopyContext(long long long) @ stdcall wglCopyContext(long long long)
@ stdcall wglCreateContext(long) @ stdcall wglCreateContext(long)
@ stdcall wglCreateLayerContext(long long) @ stdcall wglCreateLayerContext(long long)
@ stdcall wglDeleteContext(long) @ stdcall wglDeleteContext(long)
@ stdcall wglDescribeLayerPlane(long long long long ptr) @ stdcall wglDescribeLayerPlane(long long long long ptr)
@ stdcall wglDescribePixelFormat(long long long ptr) @ stdcall wglDescribePixelFormat(long long long ptr)
@ stdcall wglGetCurrentContext() @ stdcall wglGetCurrentContext()
@ stdcall wglGetCurrentDC() @ stdcall wglGetCurrentDC()
@ stub wglGetDefaultProcAddress @ stub wglGetDefaultProcAddress
@ stdcall wglGetLayerPaletteEntries(long long long long ptr) @ stdcall wglGetLayerPaletteEntries(long long long long ptr)
@ stdcall wglGetPixelFormat(long) @ stdcall wglGetPixelFormat(long)
@ stdcall wglGetProcAddress(str) @ stdcall wglGetProcAddress(str)
@ stdcall wglMakeCurrent(long long) @ stdcall wglMakeCurrent(long long)
@ stdcall wglRealizeLayerPalette(long long long) @ stdcall wglRealizeLayerPalette(long long long)
@ stdcall wglSetLayerPaletteEntries(long long long long ptr) @ stdcall wglSetLayerPaletteEntries(long long long long ptr)
@ stdcall wglSetPixelFormat(long long ptr) @ stdcall wglSetPixelFormat(long long ptr)
@ stdcall wglShareLists(long long) @ stdcall wglShareLists(long long)
@ stdcall wglSwapBuffers(long) @ stdcall wglSwapBuffers(long)
@ stdcall wglSwapLayerBuffers(long long) @ stdcall wglSwapLayerBuffers(long long)
@ stdcall wglUseFontBitmapsA(long long long long) @ stdcall wglUseFontBitmapsA(long long long long)
@ stdcall wglUseFontBitmapsW(long long long long) @ stdcall wglUseFontBitmapsW(long long long long)
@ stdcall wglUseFontOutlinesA(long long long long long long long ptr) @ stdcall wglUseFontOutlinesA(long long long long long long long ptr)
@ stdcall wglUseFontOutlinesW(long long long long long long long ptr) @ stdcall wglUseFontOutlinesW(long long long long long long long ptr)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -47,8 +47,6 @@ static HMODULE opengl32_handle;
extern struct opengl_funcs null_opengl_funcs; extern struct opengl_funcs null_opengl_funcs;
const GLubyte * WINAPI wine_glGetString( GLenum name );
/* handle management */ /* handle management */
#define MAX_WGL_HANDLES 1024 #define MAX_WGL_HANDLES 1024
@ -691,7 +689,7 @@ static int compar(const void *elt_a, const void *elt_b) {
static BOOL is_extension_supported(const char* extension) static BOOL is_extension_supported(const char* extension)
{ {
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable; const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
const char *gl_ext_string = (const char*)wine_glGetString(GL_EXTENSIONS); const char *gl_ext_string = (const char*)glGetString(GL_EXTENSIONS);
TRACE("Checking for extension '%s'\n", extension); TRACE("Checking for extension '%s'\n", extension);
@ -1624,7 +1622,7 @@ BOOL WINAPI wglUseFontOutlinesW(HDC hdc,
/*********************************************************************** /***********************************************************************
* glDebugEntry (OPENGL32.@) * glDebugEntry (OPENGL32.@)
*/ */
GLint WINAPI wine_glDebugEntry( GLint unknown1, GLint unknown2 ) GLint WINAPI glDebugEntry( GLint unknown1, GLint unknown2 )
{ {
return 0; return 0;
} }
@ -1692,7 +1690,7 @@ static GLubyte *filter_extensions( const char *extensions )
/*********************************************************************** /***********************************************************************
* glGetString (OPENGL32.@) * glGetString (OPENGL32.@)
*/ */
const GLubyte * WINAPI wine_glGetString( GLenum name ) const GLubyte * WINAPI glGetString( GLenum name )
{ {
const struct opengl_funcs *funcs = NtCurrentTeb()->glTable; const struct opengl_funcs *funcs = NtCurrentTeb()->glTable;
const GLubyte *ret = funcs->gl.p_glGetString( name ); const GLubyte *ret = funcs->gl.p_glGetString( name );