GLES shader depal fix. Again, this is disabled by default so should not affect anything.

This commit is contained in:
Henrik Rydgård 2018-05-14 21:20:51 +02:00
parent 061f92c177
commit ab65c5210c

View File

@ -174,7 +174,7 @@ bool GenerateFragmentShader(const FShaderID &id, char *buffer, uint64_t *uniform
bool isModeClear = id.Bit(FS_BIT_CLEARMODE);
if (shaderDepal) {
if (shaderDepal && gl_extensions.IsGLES) {
WRITE(p, "precision highp int;\n");
}