Alexandre Julliard : opengl32: Generate an entry point for glDebugEntry.
Alexandre Julliard
julliard at winehq.org
Tue Jun 26 13:34:14 CDT 2012
Module: wine
Branch: master
Commit: b6a7a3fe238f45895bfb1190d3bd18f590dabcdd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b6a7a3fe238f45895bfb1190d3bd18f590dabcdd
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jun 26 15:15:36 2012 +0200
opengl32: Generate an entry point for glDebugEntry.
---
dlls/opengl32/make_opengl | 4 +++-
dlls/opengl32/opengl32.spec | 2 +-
dlls/opengl32/wgl.c | 8 ++++++++
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/dlls/opengl32/make_opengl b/dlls/opengl32/make_opengl
index 09f38cb..f31f921 100755
--- a/dlls/opengl32/make_opengl
+++ b/dlls/opengl32/make_opengl
@@ -235,6 +235,7 @@ sub GenerateThunk($$$$$)
my $trace_call_arg = "";
my $trace_arg = "";
+ return "" if $func_ref->[0] eq "glDebugEntry";
return "" if $func_ref->[0] eq "glGetString";
return "" if $func_ref->[0] eq "glGetIntegerv";
return "" if $func_ref->[0] eq "glFinish";
@@ -409,7 +410,8 @@ $pseudo_to_opengl{"UInt64EXT"} = "UINT64";
# [ "GLfloat", "ymove" ],
# [ "GLubyte *", "bitmap"] ] ];
#
-my %norm_functions = ();
+my %norm_functions = ( "glDebugEntry" => [ "glDebugEntry", "GLint", [[ "GLint", "unknown1" ],
+ [ "GLint", "unknown2" ]] ] );
#
# This stores various extensions NOT part of the GL extension registry but still
diff --git a/dlls/opengl32/opengl32.spec b/dlls/opengl32/opengl32.spec
index b0853a9..6ada793 100644
--- a/dlls/opengl32/opengl32.spec
+++ b/dlls/opengl32/opengl32.spec
@@ -56,7 +56,7 @@
@ stdcall glCopyTexSubImage1D( long long long long long long ) wine_glCopyTexSubImage1D
@ stdcall glCopyTexSubImage2D( long long long long long long long long ) wine_glCopyTexSubImage2D
@ stdcall glCullFace( long ) wine_glCullFace
-@ stub glDebugEntry
+@ stdcall glDebugEntry( long long ) wine_glDebugEntry
@ stdcall glDeleteLists( long long ) wine_glDeleteLists
@ stdcall glDeleteTextures( long ptr ) wine_glDeleteTextures
@ stdcall glDepthFunc( long ) wine_glDepthFunc
diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c
index f3b4405..5a8df35 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -980,6 +980,14 @@ BOOL WINAPI wglUseFontOutlinesW(HDC hdc,
}
/***********************************************************************
+ * glDebugEntry (OPENGL32.@)
+ */
+GLint WINAPI wine_glDebugEntry( GLint unknown1, GLint unknown2 )
+{
+ return 0;
+}
+
+/***********************************************************************
* glFinish (OPENGL32.@)
*/
void WINAPI wine_glFinish( void )
More information about the wine-cvs
mailing list