Commit 490b2baa authored by Vinson Lee's avatar Vinson Lee
Browse files

teximage-colors: Remove self assignment.



Fix self assignment defect reported by Coverity.
Signed-off-by: Vinson Lee's avatarVinson Lee <vlee@freedesktop.org>
Reviewed-By: Jason Ekstrand's avatarJason Ekstrand <jason.ekstrand@intel.com>
parent f0674a80
......@@ -669,7 +669,6 @@ to_expected(GLenum test_format, GLenum test_type, void *up_raw, float *expected)
case GL_LUMINANCE:
expected[3] = 1.0f;
case GL_LUMINANCE_ALPHA:
expected[0] = expected[0];
expected[1] = expected[0];
expected[2] = expected[0];
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment