fx depal int precision for opengl es

This commit is contained in:
weihuoya 2018-06-01 00:58:44 +08:00
parent c59c3d6c34
commit e01e77e025

View file

@ -49,6 +49,7 @@ void GenerateDepalShader300(char *buffer, GEBufferFormat pixelFormat, ShaderLang
if (gl_extensions.IsGLES) {
WRITE(p, "#version 300 es\n");
WRITE(p, "precision mediump float;\n");
WRITE(p, "precision highp int;\n");
} else {
WRITE(p, "#version 330\n");
}