Completely bypass Minecraft when window is resized during rendering

Should fix issues where resizing affects the render result.
This commit is contained in:
Jonas Herzig
2022-04-10 18:36:36 +02:00
parent fd9be55f79
commit 5be57681af
10 changed files with 102 additions and 43 deletions

View File

@@ -462,8 +462,6 @@ public class VideoRenderer implements RenderInfo {
return false;
}
guiWindow.updateSize();
pushMatrix();
GlStateManager.clear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT
//#if MC>=11400