GLES depal (currently disabled): Use high int precision.

Should fix issue mentioned in fb7a63bd11
This commit is contained in:
Henrik Rydgård 2018-05-13 20:51:20 +02:00
parent 011e57c0e7
commit 4ba9fe3e0e

View File

@ -174,6 +174,10 @@ bool GenerateFragmentShader(const FShaderID &id, char *buffer, uint64_t *uniform
bool isModeClear = id.Bit(FS_BIT_CLEARMODE);
if (shaderDepal) {
WRITE(p, "precision highp int;\n");
}
const char *shading = "";
if (glslES30)
shading = doFlatShading ? "flat" : "";