All pastes #82722 Raw Edit

Stuff

public text v1 · immutable
·published 2006-07-08 21:33 UTC
rendered paste body
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index a729344..ee1529d 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -601,7 +601,7 @@ static GLenum d3dta_to_combiner_input(DW

         case D3DTA_TEXTURE:
             if (texture_idx > -1) return GL_TEXTURE0_ARB + texture_idx;
-            else return GL_PRIMARY_COLOR_NV;
+            else return GL_CONSTANT_COLOR0_NV;

         case D3DTA_TFACTOR:
             return GL_CONSTANT_COLOR0_NV;