Felix Nawothnig : wined3d: Only issue state_patchsegments FIXME once.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Apr 4 12:32:27 CDT 2007
Module: wine
Branch: master
Commit: e3d3d1823df8765a6292319953ea1765a4877183
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e3d3d1823df8765a6292319953ea1765a4877183
Author: Felix Nawothnig <flexo at holycrap.org>
Date: Tue Apr 3 23:39:22 2007 +0200
wined3d: Only issue state_patchsegments FIXME once.
---
dlls/wined3d/state.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index ab2e448..cd60841 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -1418,8 +1418,13 @@ static void state_patchsegments(DWORD state, IWineD3DStateBlockImpl *stateblock,
TRACE("Stub\n");
if (stateblock->renderState[WINED3DRS_PATCHSEGMENTS] != tmpvalue.d)
{
+ static BOOL displayed = FALSE;
+
tmpvalue.d = stateblock->renderState[WINED3DRS_PATCHSEGMENTS];
- FIXME("(WINED3DRS_PATCHSEGMENTS,%f) not yet implemented\n", tmpvalue.f);
+ if(!displayed)
+ FIXME("(WINED3DRS_PATCHSEGMENTS,%f) not yet implemented\n", tmpvalue.f);
+
+ displayed = TRUE;
}
}
More information about the wine-cvs
mailing list