mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Removed useless precision highp sampler2DArray (#3031)
Co-authored-by: Issam <issam.dahmen@fittingbox.com>
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user