From 26c3768cac9e49bb42b4eb7300e6e761852f5e29 Mon Sep 17 00:00:00 2001 From: kingscallop <54776947+kingscallop@users.noreply.github.com> Date: Sat, 16 Jan 2021 21:58:32 +0000 Subject: [PATCH] Fix typo in bgfx_shader.sh (#2361) --- src/bgfx_shader.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bgfx_shader.sh b/src/bgfx_shader.sh index eef6de769..f11bcd254 100644 --- a/src/bgfx_shader.sh +++ b/src/bgfx_shader.sh @@ -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