wined3d: Only issue state_patchsegments FIXME once.

This commit is contained in:
Felix Nawothnig 2007-04-03 23:39:22 +02:00 committed by Alexandre Julliard
parent 413b9b2ad2
commit e3d3d1823d
1 changed files with 6 additions and 1 deletions

View File

@ -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];
if(!displayed)
FIXME("(WINED3DRS_PATCHSEGMENTS,%f) not yet implemented\n", tmpvalue.f);
displayed = TRUE;
}
}