Revert hog tinting from
rdb65298717da since it wasn't sufficiently complete for a release. More sprites need converting, and there's a slight bug in hog tinting, for away hogs with hats I believe.
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;
}
}