Changelog
Silence the fixmes when device tries to access lights outside the range
allowed in the same way as when texture units are addressed
Jason
--- dlls/d3d8/device.dx30 2003-05-15 18:36:18.000000000 +0100
+++ dlls/d3d8/device.c 2003-05-15 19:04:39.000000000 +0100
@@ -2555,7 +2555,7 @@
TRACE("(%p) : Idx(%ld), pLight(%p)\n", This, Index, pLight);
if (Index > This->maxLights) {
- FIXME("Cannot handle more lights than device supports\n");
+ TRACE("Cannot handle more lights than device supports\n");
return D3DERR_INVALIDCALL;
}
@@ -2696,7 +2696,7 @@
TRACE("(%p) : Idx(%ld), pLight(%p)\n", This, Index, pLight);
if (Index > This->maxLights) {
- FIXME("Cannot handle more lights than device supports\n");
+ TRACE("Cannot handle more lights than device supports\n");
return D3DERR_INVALIDCALL;
}
@@ -2708,7 +2708,7 @@
TRACE("(%p) : Idx(%ld), enable? %d\n", This, Index, Enable);
if (Index > This->maxLights) {
- FIXME("Cannot handle more lights than device supports\n");
+ TRACE("Cannot handle more lights than device supports\n");
return D3DERR_INVALIDCALL;
}
@@ -2736,7 +2736,7 @@
TRACE("(%p) : for idx(%ld)\n", This, Index);
if (Index > This->maxLights) {
- FIXME("Cannot handle more lights than device supports\n");
+ TRACE("Cannot handle more lights than device supports\n");
return D3DERR_INVALIDCALL;
}