mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
fix: PVS-Studio V508 mark false
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
This commit is contained in:
parent
7c8f04aa75
commit
4efa574eec
4 changed files with 6 additions and 6 deletions
|
|
@ -95,7 +95,7 @@ glshader compile_shader(GLenum type, const GLchar* source, const std::string& fi
|
|||
"vertex shader compilation failed ("+file+"):\n"+std::string(infoLog)
|
||||
);
|
||||
}
|
||||
return glshader(new GLuint(shader), shader_deleter);
|
||||
return glshader(new GLuint(shader), shader_deleter); //-V508
|
||||
}
|
||||
|
||||
std::unique_ptr<Shader> Shader::create(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue