From b00f38f3d2665200debfc98ab696dc552386ce8a Mon Sep 17 00:00:00 2001 From: VReaperV Date: Fri, 17 Jan 2025 03:49:23 +0300 Subject: [PATCH] std::iaslpha() -> Str::cisalpha() --- src/engine/renderer/gl_shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/renderer/gl_shader.cpp b/src/engine/renderer/gl_shader.cpp index 3ca0d19ca0..0c4b21bd45 100644 --- a/src/engine/renderer/gl_shader.cpp +++ b/src/engine/renderer/gl_shader.cpp @@ -1440,7 +1440,7 @@ std::string GLShaderManager::ShaderPostProcess( GLShader *shader, const std::str for ( GLUniform* uniform : shader->_uniforms ) { if ( !uniform->IsGlobal() ) { const size_t pos = line.find( uniform->GetName() ); - if ( pos != std::string::npos && !std::isalpha( line[pos + strlen( uniform->GetName() ) ]) ) { + if ( pos != std::string::npos && !Str::cisalpha( line[pos + strlen( uniform->GetName() )] ) ) { skip = true; break; }