Alexandre Julliard : glu32: Implement gluGetTessProperty.
Alexandre Julliard
julliard at winehq.org
Thu Apr 6 15:05:23 CDT 2017
Module: wine
Branch: master
Commit: 8b1fe34acb3d707850cd8e4a602b3eece3291286
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8b1fe34acb3d707850cd8e4a602b3eece3291286
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Apr 6 13:51:42 2017 +0200
glu32: Implement gluGetTessProperty.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/glu32/glu.c | 9 +++++++++
dlls/glu32/glu32.spec | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/dlls/glu32/glu.c b/dlls/glu32/glu.c
index ee2468b..8bf19f9 100644
--- a/dlls/glu32/glu.c
+++ b/dlls/glu32/glu.c
@@ -90,6 +90,7 @@ static void (*p_gluEndTrim)( GLUnurbs* nurb );
static const GLubyte * (*p_gluErrorString)( GLenum error );
static void (*p_gluGetNurbsProperty)( GLUnurbs* nurb, GLenum property, GLfloat* data );
static const GLubyte * (*p_gluGetString)( GLenum name );
+static void (*p_gluGetTessProperty)( GLUtesselator* tess, GLenum which, GLdouble* data );
static void (*p_gluLoadSamplingMatrices)( GLUnurbs* nurb, const GLfloat *model, const GLfloat *perspective, const GLint *view );
static void (*p_gluLookAt)( GLdouble eyeX, GLdouble eyeY, GLdouble eyeZ, GLdouble centerX, GLdouble centerY, GLdouble centerZ, GLdouble upX, GLdouble upY, GLdouble upZ );
static GLUnurbs* (*p_gluNewNurbsRenderer)(void);
@@ -149,6 +150,7 @@ static BOOL load_libglu(void)
LOAD_FUNCPTR(gluErrorString);
LOAD_FUNCPTR(gluGetNurbsProperty);
LOAD_FUNCPTR(gluGetString);
+ LOAD_FUNCPTR(gluGetTessProperty);
LOAD_FUNCPTR(gluLoadSamplingMatrices);
LOAD_FUNCPTR(gluLookAt);
LOAD_FUNCPTR(gluNewNurbsRenderer);
@@ -716,6 +718,13 @@ void WINAPI wine_gluTessVertex( wine_GLUtesselator *tess, GLdouble coords[3], vo
p_gluTessVertex( tess->tess, coords, data );
}
+/***********************************************************************
+ * gluGetTessProperty (GLU32.@)
+ */
+void WINAPI wine_gluGetTessProperty( wine_GLUtesselator *tess, GLenum which, GLdouble *value )
+{
+ p_gluGetTessProperty( tess->tess, which, value );
+}
/***********************************************************************
* gluTessProperty (GLU32.@)
diff --git a/dlls/glu32/glu32.spec b/dlls/glu32/glu32.spec
index 2266bd0..8f98fec 100644
--- a/dlls/glu32/glu32.spec
+++ b/dlls/glu32/glu32.spec
@@ -18,7 +18,7 @@
@ stub gluErrorUnicodeStringEXT
@ stdcall gluGetNurbsProperty(ptr long ptr) wine_gluGetNurbsProperty
@ stdcall gluGetString(long) wine_gluGetString
-@ stub gluGetTessProperty
+@ stdcall gluGetTessProperty(ptr long ptr) wine_gluGetTessProperty
@ stdcall gluLoadSamplingMatrices(ptr ptr ptr ptr) wine_gluLoadSamplingMatrices
@ stdcall gluLookAt(double double double double double double double double double) wine_gluLookAt
@ stdcall gluNewNurbsRenderer() wine_gluNewNurbsRenderer
More information about the wine-cvs
mailing list