Update preview gui framebuffer size regardless of performance mode
This used to be more of an issue in the past but `displaySizeChanged` has gotten pretty cheap by now and not updating it will basically make the rendering GUI useless once you resize even once.
This commit is contained in:
@@ -431,7 +431,7 @@ public class VideoRenderer implements RenderInfo {
|
||||
}
|
||||
|
||||
// Resize the GUI framebuffer if the display size changed
|
||||
if (!settings.isHighPerformance() && displaySizeChanged()) {
|
||||
if (displaySizeChanged()) {
|
||||
updateDisplaySize();
|
||||
//#if MC>=11400
|
||||
guiFramebuffer.resize(displayWidth, displayHeight
|
||||
|
||||
Reference in New Issue
Block a user