Browse Source

Fix typo in bgfx_shader.sh (#2361)

kingscallop 5 years ago
parent
commit
26c3768cac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bgfx_shader.sh

+ 1 - 1
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