Completely bypass Minecraft when window is resized during rendering
Should fix issues where resizing affects the render result.
This commit is contained in:
@@ -33,11 +33,6 @@ public class Window implements MainWindowAccessor {
|
||||
mc.displayHeight = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void invokeUpdateFramebufferSize() {
|
||||
// no-op, pre-LWJGL3 MC doesn't differentiate between window and framebuffer size
|
||||
}
|
||||
|
||||
public long getHandle() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -15,6 +15,4 @@ public interface MainWindowAccessor {
|
||||
int getFramebufferHeight();
|
||||
@Accessor("displayHeight")
|
||||
void setFramebufferHeight(int value);
|
||||
@Invoker
|
||||
void invokeUpdateFramebufferSize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user