summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexShaderGen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexShaderGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderGen.cpp b/Source/Core/VideoCommon/VertexShaderGen.cpp
index 4f6331cfde..9f0c1795a0 100644
--- a/Source/Core/VideoCommon/VertexShaderGen.cpp
+++ b/Source/Core/VideoCommon/VertexShaderGen.cpp
@@ -178,7 +178,7 @@ static inline T GenerateVertexShader(API_TYPE api_type)
if (components & VB_HAS_COL0)
out.Write("o.colors_0 = color0;\n");
else
- out.Write("o.colors_0 = float4(1.0, 1.0, 1.0, 1.0);\n");
+ out.Write("o.colors_0 = float4(0.0, 0.0, 0.0, 0.0);\n");
}
GenerateLightingShader<T>(out, uid_data->lighting, components, "color", "o.colors_");