Summary:
Silly mistake after this
b9b5ced501f4642f03d8bcc8441fd3f7b55a7f52 commit.
Seems uninitialized components of vector gl_FragColor
Reviewers: cedric, Hermet, jpeg
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2258
"#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[] =
#endif //ALPHA_TEST_ENABLED
- gl_FragColor.r = gl_FragCoord.z;
+ gl_FragColor = vec4(gl_FragCoord.z);
}