[dx31]Silent Lights...

Ann and Jason Edmeades us at the-edmeades.demon.co.uk
Thu May 15 12:27:22 CDT 2003


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
-------------- next part --------------
--- 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;
     }
 


More information about the wine-patches mailing list