add missing Pipeline::syncProgram for glCallList (#762)

This commit is contained in:
kurrycat authored and GitHub committed 2024-11-30 10:38:00 -10:00
1 parent 03342f08c6
commit b69eca6749
1 file changed
+3
@@ -1240,6 +1240,9 @@ public class GLStateManager {
if(list < 0) {
VBOManager.get(list).render();
} else {
if (AngelicaConfig.enableIris) {
Iris.getPipelineManager().getPipeline().ifPresent(WorldRenderingPipeline::syncProgram);
}
GL11.glCallList(list);
if(glListChanges.containsKey(list)) {
for(Map.Entry<IStateStack<?>, ISettableState<?>> entry : glListChanges.get(list)) {