All pastes #115842 Raw Edit

Mine

public text v1 · immutable
·published 2006-08-04 21:40 UTC
rendered paste body
diff --git a/dlls/wined3d/vertexshader.c b/dlls/wined3d/vertexshader.c
index 0d4bac6..3c87e59 100644
--- a/dlls/wined3d/vertexshader.c
+++ b/dlls/wined3d/vertexshader.c
@@ -667,7 +667,7 @@ BOOL vshader_input_is_color(
     if (This->vertexDeclaration != NULL)
         return FALSE; 
     else
-        return usage == D3DDECLUSAGE_COLOR;
+        return usage == D3DDECLUSAGE_COLOR || usage == D3DDECLUSAGE_BLENDINDICES;
 }
 
 /** Generate a vertex shader string using either GL_VERTEX_PROGRAM_ARB