Received the following error messages:
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall -fPIC -D__WINE__
-D_REENTRANT -I/usr/X11R6/include -o d3ddevice/mesa.o d3ddevice/mesa.c
d3ddevice/mesa.c: In function `fill_device_capabilities':
d3ddevice/mesa.c:130: `PFNGLCOLORTABLEEXTPROC' undeclared (first use in this
function)
d3ddevice/mesa.c:130: (Each undeclared identifier is reported only once
d3ddevice/mesa.c:130: for each function it appears in.)
d3ddevice/mesa.c:130: parse error before `glXGetProcAddressARB'

Fixed with attached patch (which is probably not correct, but will at least
make it compile).

-Dave
Index: mesa.c
===================================================================
RCS file: /home/wine/wine/dlls/ddraw/d3ddevice/mesa.c,v
retrieving revision 1.3
diff -u -r1.3 mesa.c
--- mesa.c      2000/07/16 14:40:35     1.3
+++ mesa.c      2000/07/17 08:27:14
@@ -16,6 +16,8 @@
 
 #include "mesa_private.h"
 
+typedef void (APIENTRY * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum 
+internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
+
 DEFAULT_DEBUG_CHANNEL(ddraw)
 
 ICOM_VTABLE(IDirect3DDevice2) OpenGL_vtable;

Reply via email to