mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 05:52:03 +00:00
GLSL precision increased
This commit is contained in:
parent
950f36de85
commit
68ebf1b55f
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ static void GLSL_GetShaderHeader( GLenum shaderType, const GLchar *extra, char *
|
|||
// HACK: abuse the GLSL preprocessor to turn GLSL 1.20 shaders into 1.30 ones
|
||||
#ifdef __ANDROID__
|
||||
Q_strcat(dest, size, "#version 300 es\n");
|
||||
Q_strcat(dest, size, "precision mediump float;\n");
|
||||
Q_strcat(dest, size, "precision highp float;\n");
|
||||
if(shaderType == GL_VERTEX_SHADER)
|
||||
{
|
||||
Q_strcat(dest, size, "#define attribute in\n");
|
||||
|
|
Loading…
Reference in a new issue