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

@@ -118,7 +118,7 @@ public abstract class OpenGlFrameCapturer<F extends Frame, D extends CaptureData
//#if MC>=11300
GlFramebuffer fb = mc.getFramebuffer();
if (fb.viewWidth != width || fb.viewHeight != height) {
fb.initFbo(width, height
fb.resize(width, height
//#if MC>=11400
, false
//#endif