Fix typo in bgfx_shader.sh (#2361)

This commit is contained in:
kingscallop 2021-01-16 21:58:32 +00:00 committed by GitHub
parent eab0833b82
commit 26c3768cac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -556,7 +556,7 @@ vec4 mod(vec4 _a, vec4 _b) { return _a - _b * floor(_a / _b); }
# define texture2D(_sampler, _coord) texture(_sampler, _coord)
# define texture2DArray(_sampler, _coord) texture(_sampler, _coord)
# define texture3D(_sampler, _coord) texture(_sampler, _coord)
# define texture2DLod(_sampler, _coord_, _lod) textureLod(_sampler, _coord, _lod)
# define texture2DLod(_sampler, _coord, _lod) textureLod(_sampler, _coord, _lod)
# define texture2DLodOffset(_sampler, _coord, _lod, _offset) textureLodOffset(_sampler, _coord, _lod, _offset)
# endif // BGFX_SHADER_LANGUAGE_GLSL >= 130