[PATCH v2 19/21] dlls/wined3d: Use FIXME_ONCE
David Kahurani
k.kahurani at gmail.com
Mon Oct 18 07:58:18 CDT 2021
introduce FIXME_ONCE
Signed-off-by: David Kahurani <k.kahurani at 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");
}
}
--
2.33.0
More information about the wine-devel
mailing list