Fix framebuffer resizing for rendering on 1.13+

This commit is contained in:
Jonas Herzig
2019-06-28 17:23:07 +02:00
parent fcb8cc329b
commit 801f0871d5
2 changed files with 2 additions and 2 deletions

View File

@@ -350,7 +350,7 @@ public class VideoRenderer implements RenderInfo {
// Finally, resize the Minecraft framebuffer to the actual width/height of the window
//#if MC>=11300
mc.getFramebuffer().initFbo(displayWidth, displayHeight
mc.getFramebuffer().resize(displayWidth, displayHeight
//#if MC>=11400
, false
//#endif