Jan Zerebecki : wined3d: Print lastpixel state fixme only once.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Mar 28 06:42:06 CDT 2007


Module: wine
Branch: master
Commit: 09e7791cbad79f0cbcb7db9d84ac6b98beee396e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=09e7791cbad79f0cbcb7db9d84ac6b98beee396e

Author: Jan Zerebecki <jan.wine at zerebecki.de>
Date:   Tue Mar 27 09:27:52 2007 +0200

wined3d: Print lastpixel state fixme only once.

---

 dlls/wined3d/state.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index e4d10e2..8e563fb 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -1254,7 +1254,13 @@ static void state_lastpixel(DWORD state, IWineD3DStateBlockImpl *stateblock, Win
     if(stateblock->renderState[WINED3DRS_LASTPIXEL]) {
         TRACE("Last Pixel Drawing Enabled\n");
     } else {
-        FIXME("Last Pixel Drawing Disabled, not handled yet\n");
+        static BOOL first = TRUE;
+        if(first) {
+            FIXME("Last Pixel Drawing Disabled, not handled yet\n");
+            first = FALSE;
+        } else {
+            TRACE("Last Pixel Drawing Disabled, not handled yet\n");
+        }
     }
 }
 




More information about the wine-cvs mailing list