mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
+ | Fixing texture limit on old gpu
This commit is contained in:
@ -129,7 +129,7 @@ void ShaderProgram::set_textures(std::map<std::string, std::vector<GLuint>> text
|
||||
}
|
||||
}
|
||||
|
||||
void ShaderProgram::set_define(const std::string &name, const std::string &value)
|
||||
void ShaderProgram::setDefine(const std::string &name, const std::string &value)
|
||||
{
|
||||
for (Shader *shader : _shaders)
|
||||
shader->setDefine(name, value);
|
||||
|
Reference in New Issue
Block a user