From 62b6b57405b9c2256911adff0a71ed150c24aa11 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Tue, 22 Aug 2023 21:23:54 -0500 Subject: [PATCH] re-fix vert color swizzle --- Engine/source/shaderGen/GLSL/shaderFeatureGLSL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/shaderGen/GLSL/shaderFeatureGLSL.cpp b/Engine/source/shaderGen/GLSL/shaderFeatureGLSL.cpp index ca937ac7f..f6503768b 100644 --- a/Engine/source/shaderGen/GLSL/shaderFeatureGLSL.cpp +++ b/Engine/source/shaderGen/GLSL/shaderFeatureGLSL.cpp @@ -1232,7 +1232,7 @@ void DiffuseVertColorFeatureGLSL::processVert( Vector< ShaderComponent* >& comp outColor->setStructName( "OUT" ); outColor->setType( "vec4" ); - output = new GenOp( " @ = @;\r\n", outColor, inColor ); + output = new GenOp( " @ = @.bgra;\r\n", outColor, inColor ); } else output = NULL; // Nothing we need to do.