File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -583,11 +583,11 @@ int opengl_compile_shader(shader_type sdr, uint flags)
583583 }
584584
585585 // bind fragment data locations before we link the shader
586- glBindFragDataLocation (new_shader. program ->getShaderHandle (), 0 , " fragOut0" );
587- glBindFragDataLocation (new_shader. program ->getShaderHandle (), 1 , " fragOut1" );
588- glBindFragDataLocation (new_shader. program ->getShaderHandle (), 2 , " fragOut2" );
589- glBindFragDataLocation (new_shader. program ->getShaderHandle (), 3 , " fragOut3" );
590- glBindFragDataLocation (new_shader. program ->getShaderHandle (), 4 , " fragOut4" );
586+ glBindFragDataLocation (program->getShaderHandle (), 0 , " fragOut0" );
587+ glBindFragDataLocation (program->getShaderHandle (), 1 , " fragOut1" );
588+ glBindFragDataLocation (program->getShaderHandle (), 2 , " fragOut2" );
589+ glBindFragDataLocation (program->getShaderHandle (), 3 , " fragOut3" );
590+ glBindFragDataLocation (program->getShaderHandle (), 4 , " fragOut4" );
591591
592592 if (do_shader_caching ()) {
593593 // Enable shader caching
You can’t perform that action at this time.
0 commit comments