=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Show fixme about unimplemented vertex processing once.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jul 3 09:02:36 CDT 2015


Module: wine
Branch: master
Commit: 1fc4a17175cd0eff0e846b936ac4b183ef36f77a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1fc4a17175cd0eff0e846b936ac4b183ef36f77a

Author: Józef Kucia <joseph.kucia at gmail.com>
Date:   Fri Jul  3 01:04:12 2015 +0200

wined3d: Show fixme about unimplemented vertex processing once.

---

 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) {




More information about the wine-cvs mailing list