  //NOTE: if there is a #version directive (e.g. #version 100), it must occur before anything else in the program (including other directives)
  #version 100	//it is set the same time as the flags
 */
- //For other GL versions compatibility
- #ifdef GL_FRAGMENT_PRECISION_HIGH
+
+//For other GL versions compatibility
+#ifdef GL_FRAGMENT_PRECISION_HIGH
 	precision highp float;	//Desktop (or ES2.0 supporting highp)
 #elif GL_ES
 	precision mediump float;	//Default

	fragColor = clamp(fragColor, zero_float, one_float);
	
	if(gfNumTextures>0){	//currently supporting 1 texture
	//ifndef GF_GL_IS_RECT
#ifdef GF_GL_IS_YUV
			texc = TexCoord.st;
			yuv.x = texture2D(y_plane, texc).r;

		}
	}
	
	if(gfFogEnabled)
		fragColor = fragColor * gfFogFactor + vec4(gfFogColor, zero_float) * (one_float - gfFogFactor);
	
