summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-08-17 18:26:57 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-08-17 18:33:59 -0300
commit3a4ff3402dedab5f30b0f97aeadec6cf61f29a40 (patch)
tree6d44198ad822c8f12ce511fc7249d12daf1d95a2 /drivers
parentee59e627ded8c9d0a3d2d33b2d6cc6734a62b04d (diff)
Oops, fixed wrong color masking problem. Closes #10149
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gles3/rasterizer_storage_gles3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/rasterizer_storage_gles3.cpp b/drivers/gles3/rasterizer_storage_gles3.cpp
index 24fa117051..8dd083fbe8 100644
--- a/drivers/gles3/rasterizer_storage_gles3.cpp
+++ b/drivers/gles3/rasterizer_storage_gles3.cpp
@@ -2143,7 +2143,7 @@ _FORCE_INLINE_ static void _fill_std140_variant_ubo_value(ShaderLanguage::DataTy
gui[0] = v.normal.x;
gui[1] = v.normal.y;
- gui[2] = v.normal.x;
+ gui[2] = v.normal.z;
gui[3] = v.d;
}
} break;