Ben Mayhew : wined3d: Only display Missing vbo streams fixme once.

Alexandre Julliard julliard at winehq.org
Mon May 12 07:12:17 CDT 2008


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

Author: Ben Mayhew <ben-dev at gmx.net>
Date:   Fri May  9 20:57:26 2008 +0200

wined3d: Only display Missing vbo streams fixme once.

---

 dlls/wined3d/drawprim.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c
index e8b39f8..b5e59b8 100644
--- a/dlls/wined3d/drawprim.c
+++ b/dlls/wined3d/drawprim.c
@@ -207,8 +207,12 @@ void primitiveDeclarationConvertToStridedData(
                 else if(*fixup && !useVertexShaderFunction &&
                        (element->Usage == WINED3DDECLUSAGE_COLOR ||
                         element->Usage == WINED3DDECLUSAGE_POSITIONT)) {
-                    /* This may be bad with the fixed function pipeline */
-                    FIXME("Missing vbo streams with unfixed colors or transformed position, expect problems\n");
+                    static BOOL warned = FALSE;
+                    if(!warned) {
+			/* This may be bad with the fixed function pipeline */
+			FIXME("Missing vbo streams with unfixed colors or transformed position, expect problems\n");
+                        warned = TRUE;
+                    }
                 }
             }
         }




More information about the wine-cvs mailing list