Fixes crash Wuzzy and I were encountering in debian fpc 2.6.2 and 3.0.0 after the addition of the uPhysFSLayer dependency to uUtils in
rcac74d9075be
uniform sampler2D tex0;
uniform vec4 tint;
uniform bool enableTexture;
varying vec2 tex;
void main()
{
if(enableTexture){
gl_FragColor = texture2D(tex0, tex) * tint;
}else{
gl_FragColor = tint;
}
}