wined3d: Add function pointers to glSupportOpSeparate and
glSupportFuncSeparate
Vitaly Budovski
vbudovsk at cs.rmit.edu.au
Wed Mar 1 06:46:06 CST 2006
wined3d: Add function pointers to glSupportOpSeparate and
glSupportFuncSeparate
-------------- next part --------------
diff --git a/include/wine/wined3d_gl.h b/include/wine/wined3d_gl.h
index 200bba1..fa391ba 100644
--- a/include/wine/wined3d_gl.h
+++ b/include/wine/wined3d_gl.h
@@ -803,7 +803,9 @@ typedef void (APIENTRY * PGLFNBEGINOCCLU
typedef void (APIENTRY * PGLFNENDOCCLUSIONQUERYNVPROC) (void);
typedef void (APIENTRY * PGLFNGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
typedef void (APIENTRY * PGLFNGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
-
+/* OpenGL 2.0 */
+typedef void (APIENTRY * PGLFNSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
+typedef void (APIENTRY * PGLFNSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
/****************************************************
* OpenGL Official Version
@@ -1032,6 +1034,9 @@ typedef enum _GL_SupportedExt {
USE_GL_FUNC(PGLFNVERTEXATTRIBPOINTERARBPROC, glVertexAttribPointerARB); \
USE_GL_FUNC(PGLFNENABLEVERTEXATTRIBARRAYARBPROC, glEnableVertexAttribArrayARB); \
USE_GL_FUNC(PGLFNDISABLEVERTEXATTRIBARRAYARBPROC, glDisableVertexAttribArrayARB); \
+ /* OpenGL 2.0 */ \
+ USE_GL_FUNC(PGLFNSTENCILOPSEPARATEPROC, glStencilOpSeparate); \
+ USE_GL_FUNC(PGLFNSTENCILFUNCSEPARATEPROC, glStencilFuncSeparate); \
#define GLX_EXT_FUNCS_GEN \
/** GLX_VERSION_1_3 **/ \
More information about the wine-patches
mailing list