wined3d: Print lastpixel state fixme only once.
Jan Zerebecki
jan.wine at zerebecki.de
Tue Mar 27 02:27:52 CDT 2007
---
If this patch is rejected from inclusion, please tell me why, as
I would have to ask anyway.
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 bba49ee..4371cc0 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-patches
mailing list