diff --git a/src/main/java/net/vulkanmod/mixin/WindowMixin.java b/src/main/java/net/vulkanmod/mixin/WindowMixin.java index 9c8c12e96..dfa24502e 100644 --- a/src/main/java/net/vulkanmod/mixin/WindowMixin.java +++ b/src/main/java/net/vulkanmod/mixin/WindowMixin.java @@ -80,6 +80,15 @@ public void setVsync(boolean vsync) { Vulkan.setVsync(vsync); } + /** + * @author + */ + @Overwrite + public void toggleFullscreen() { + this.fullscreen = !this.fullscreen; + Options.fullscreenDirty = true; + } + /** * @author */