mirror of https://github.com/bkaradzic/bgfx
Removed useless precision highp sampler2DArray (#3031)
Co-authored-by: Issam <issam.dahmen@fittingbox.com>
This commit is contained in:
parent
6f36b4fb3a
commit
10ec8e8882
|
@ -2375,7 +2375,7 @@ namespace bgfx
|
|||
bx::stringPrintf(code, "precision highp int;\n");
|
||||
}
|
||||
|
||||
if (glsl_profile >= 300)
|
||||
if (glsl_profile >= 300 && usesTextureArray)
|
||||
{
|
||||
bx::stringPrintf(code, "precision highp sampler2DArray;\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue