Skip to content

Commit

Permalink
fixed fullscreen on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Collateral committed Oct 6, 2022
1 parent 773c80f commit f706c2b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/java/net/vulkanmod/mixin/WindowMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit f706c2b

Please sign in to comment.