introduce FIXME_ONCE
Signed-off-by: David Kahurani k.kahurani@gmail.com --- dlls/wined3d/state.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index c7f0410..637d3ca 100644 --- a/dlls/wined3d/state.c +++ b/dlls/wined3d/state.c @@ -2170,11 +2170,9 @@ static void state_ckeyblend(struct wined3d_context *context, const struct wined3
static void state_swvp(struct wined3d_context *context, const struct wined3d_state *state, DWORD state_id) { - static int once; if (state->render_states[WINED3D_RS_SOFTWAREVERTEXPROCESSING]) { - if (!once++) - FIXME("Software vertex processing not implemented.\n"); + FIXME_ONCE("Software vertex processing not implemented.\n"); } }