[PATCH 1/4] wined3d: Show fixme about unimplemented vertex processing once.
Józef Kucia
joseph.kucia at gmail.com
Thu Jul 2 01:26:45 CDT 2015
---
dlls/wined3d/state.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index c28798d..1a95161 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -1889,8 +1889,12 @@ 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])
- FIXME("Software vertex processing not implemented.\n");
+ {
+ if (!once++)
+ FIXME("Software vertex processing not implemented.\n");
+ }
}
static void get_src_and_opr(DWORD arg, BOOL is_alpha, GLenum* source, GLenum* operand) {
--
2.3.6
More information about the wine-patches
mailing list