diff --git a/ogre2/src/media/Hlms/Common/GLSL/CrossPlatformSettings_piece_all.glsl b/ogre2/src/media/Hlms/Common/GLSL/CrossPlatformSettings_piece_all.glsl index fa0587f04..44b3e0af5 100644 --- a/ogre2/src/media/Hlms/Common/GLSL/CrossPlatformSettings_piece_all.glsl +++ b/ogre2/src/media/Hlms/Common/GLSL/CrossPlatformSettings_piece_all.glsl @@ -113,7 +113,7 @@ #define OGRE_Load3D( tex, iuv, lod ) texelFetch( tex, ivec3( iuv ), lod ) -#define bufferFetch1( buffer, idx ) texelFetch( buffer, idx ).x +#define bufferFetch1( buffer, idx ) bufferFetch( buffer, idx ).x #define OGRE_SAMPLER_ARG_DECL( samplerName ) #define OGRE_SAMPLER_ARG( samplerName )