[D3D8] fix compile error for missing GL define
Robert Reif
reif at earthlink.net
Wed Jan 18 06:42:04 CST 2006
I don't know the best way to handle this but this patch does get it to
compile again.
-------------- next part --------------
Index: dlls/d3d8/device.c
===================================================================
RCS file: /home/wine/wine/dlls/d3d8/device.c,v
retrieving revision 1.134
diff -p -u -r1.134 device.c
--- dlls/d3d8/device.c 17 Jan 2006 15:31:11 -0000 1.134
+++ dlls/d3d8/device.c 18 Jan 2006 12:40:09 -0000
@@ -3081,6 +3081,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_Se
FIXME("(%p)->(%d,%ld) not handled yet\n", This, State, Value);
break;
}
+#if defined(GL_ARB_point_sprite)
case D3DRS_POINTSPRITEENABLE :
{
if(Value) {
@@ -3100,6 +3101,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_Se
}
break;
}
+#endif
case D3DRS_MULTISAMPLEANTIALIAS :
{
if(Value) {
More information about the wine-patches
mailing list