This commit is contained in:
halx99 2023-07-15 23:52:25 +08:00
parent 4d9add1b0e
commit 95f5001057
1 changed files with 2 additions and 2 deletions

View File

@ -80,9 +80,9 @@ void ProgramGL::reloadProgram()
_mapToCurrentActiveLocation.clear();
_mapToOriginalLocation.clear();
static_cast<ShaderModuleGL*>(_vertexShaderModule)
->compileShader(backend::ShaderStage::VERTEX, SHADER_PREDEFINE + _vertexShader);
->compileShader(backend::ShaderStage::VERTEX, _vertexShader);
static_cast<ShaderModuleGL*>(_fragmentShaderModule)
->compileShader(backend::ShaderStage::FRAGMENT, SHADER_PREDEFINE + _fragmentShader);
->compileShader(backend::ShaderStage::FRAGMENT, _fragmentShader);
compileProgram();
computeUniformInfos();