1 #ifndef SHADER_COMPILATION_EXCEPTION_H
2 #define SHADER_COMPILATION_EXCEPTION_H
10 std::string shader_filename;
13 this->shader_filename = filename;
16 virtual const char*
what()
const throw() {
17 return (std::string(
"Shader failed to compile: ") + this->shader_filename).c_str();
virtual const char * what() const
Definition: shader_compilation_exception.h:16
Definition: shader_compilation_exception.h:8
ShaderCompilationException(const std::string &filename)
Definition: shader_compilation_exception.h:12