ALL d3d build break information

Ann and Jason Edmeades us at the-edmeades.demon.co.uk
Thu Jun 5 17:07:14 CDT 2003


For those of you having compile problems with d3d8:

1. If it relates to GL_ALPHA_SCALE, GL_PREVIOUS etc, see patch #1 sent
to wine-patches

2. If it relates to variables defined in the middle of code see Stefans
patch sent to wine-patches

3. If it relates to GL/glxext.h: No such file or directory, try this
patch2 - I need feedback on this one desperately, before submitting it
(Eris, Stefan etc?)

4. If it relates to PFNGLCOLORTABLEEXTPROC, glPointParameterfEXT etc,
add the following to d3d8_private.h after the APIENTRY #define, as I
dont know how we need to fix this properly (over to Raphael).

/* Temporary hack for compile */
typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red,
GLfloat green, GLfloat blue);
typedef void (APIENTRY * PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat
*v);
typedef void (APIENTRY * PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red,
GLubyte green, GLubyte blue);
typedef void (APIENTRY * PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size,
GLenum type, GLsizei stride, const GLvoid *pointer);
typedef void (APIENTRY * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum
internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid
*table);
typedef void (APIENTRY * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname,
GLfloat param);
typedef void (APIENTRY * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname,
const GLfloat *params);


Any one for any more? 
Jason
-------------- next part --------------
Index: dlls/d3d8/device.c
===================================================================
RCS file: /home/wine/wine/dlls/d3d8/device.c,v
retrieving revision 1.69
diff -u -r1.69 device.c
--- dlls/d3d8/device.c	4 Jun 2003 23:05:46 -0000	1.69
+++ dlls/d3d8/device.c	5 Jun 2003 21:52:46 -0000
@@ -34,8 +34,12 @@
 /*#define GL_GLEXT_PROTOTYPES*/
 /*#undef  GLX_GLXEXT_LEGACY*/
 #include "d3d8_private.h"
+#ifdef HAVE_GL_GLEXT_H
 #include <GL/glext.h>
-#include <GL/glxext.h>
+#endif
+#ifdef HAVE_GL_GLX_H
+#include <GL/glx.h>
+#endif
 
 /** currently desactiving 1_4 support as mesa doesn't implement all 1_4 support while defining it */
 #undef GL_VERSION_1_4


More information about the wine-devel mailing list