Ann and Jason Edmeades wrote:
FYI If you are having problems compiling d3d8, add the following to d3d8_private.h after the APIENTRY #define
/* 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);
Raphael - I'll let you fix this issue properly.. :-)
Jason
I've got some different issues. first, GL/glxext.h (included from d3d8/device.c) doesn't exist on my machine then, in d3d8/utils.c, GL_ALPHASCALE, GL_PRIMARY_COLOR, GL_CONSTANT, GL_PREVIOUS are not defined, causing some more errors
A+