On 18/01/06, Michael Jung <[EMAIL PROTECTED]> wrote: > I can confirm this on Debian Sarge. From what I've seen by google'ing, > GL_ARB_point_sprite seems to be an OpenGL 1.5 feature. I've attached a patch, > but I'm not sure if the right thing is to check on GL_VERSION_1_5 or on > GL_ARB_point_sprite. See http://www.winehq.org/pipermail/wine-devel/2006-January/044206.html
The patch attached to this mail should be the proper way to fix this, but I'm not able to test it myself right now.
--- a/dlls/d3d8/d3dcore_gl.h +++ b/dlls/d3d8/d3dcore_gl.h @@ -592,6 +592,13 @@ typedef void (APIENTRY * PGLFNGETCOMBINE /* #define ZERO */ #endif +/* GL_ARB_point_sprite */ +#ifndef GL_ARB_point_sprite +#define GL_ARB_point_sprite 1 +#define GL_POINT_SPRITE_ARB 0x8861 +#define GL_COORD_REPLACE_ARB 0x8862 +#endif + /******* * OpenGL Official Version * defines
