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

@@ -15,12 +15,4 @@ public interface MainWindowAccessor {
int getFramebufferHeight();
@Accessor
void setFramebufferHeight(int value);
// FIXME preprocessor should be able to infer this mapping
// FIXME preprocessor should be able to remap this one when the mapping is given manually
//#if MC>=11500
@Invoker
//#else
//$$ @Invoker("method_4483")
//#endif
void invokeUpdateFramebufferSize();
}