author | Caleb Cornett <caleb.cornett@outlook.com> |
Mon, 16 Dec 2019 00:08:35 -0500 | |
changeset 1222 | c6e847dd9d4b |
parent 1221 | 012dec2787aa |
child 1223 | 32ab7e4fbdc6 |
--- a/profiles/mojoshader_profile_glsl.c Thu Dec 05 12:11:01 2019 -0500 +++ b/profiles/mojoshader_profile_glsl.c Mon Dec 16 00:08:35 2019 -0500 @@ -957,12 +957,7 @@ if (support_glsles(ctx)) break; // GLSL ES does not have gl_FogFragCoord #endif -#if SUPPORT_PROFILE_GLSLES - const int skipFogFragCoord = support_glsles(ctx) || (index > 0); -#else - const int skipFogFragCoord = (index > 0); -#endif - if (!skipFogFragCoord) + if (index == 0) { usage_str = "gl_FogFragCoord"; } // if