mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-03-17 07:30:52 +00:00
Merge pull request #28 from lvonasek/feature_glsl_precision
GLSL float precision increased
This commit is contained in:
commit
3745959a8d
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