Evas 3D: Fix shadow map shader

Summary:
Silly mistake after this b9b5ced501 commit.
Seems uninitialized components of vector gl_FragColor

Reviewers: cedric, Hermet, jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2258
This commit is contained in:
Oleksandr Shcherbina 2015-03-31 08:34:32 +09:00 committed by Jean-Philippe Andre
parent 431e73eed5
commit 4af7a947a6
2 changed files with 2 additions and 2 deletions

View File

@ -1188,7 +1188,7 @@ static const char const shadow_map_frag_glsl[] =
"#endif //DIFFUSE_TEXTURE\n"
"#endif //DIFFUSE_TEXTURE_BLEND\n"
"#endif //ALPHA_TEST_ENABLED\n"
" gl_FragColor.r = gl_FragCoord.z;\n"
" gl_FragColor = vec4(gl_FragCoord.z);\n"
"}\n";
static const char const color_pick_vert_glsl[] =

View File

@ -36,5 +36,5 @@ void main() {
#endif //ALPHA_TEST_ENABLED
gl_FragColor.r = gl_FragCoord.z;
gl_FragColor = vec4(gl_FragCoord.z);
}