Skip to content

Commit

Permalink
fix #49
Browse files Browse the repository at this point in the history
  • Loading branch information
CreedVI committed May 17, 2024
1 parent 6434ad6 commit b4a8e6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/raylib/java/core/rCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -1224,8 +1224,8 @@ public void EndTextureMode(){
SetupViewport(window.render.width, window.render.height);

// Reset current screen size
window.currentFbo.setWidth(GetScreenWidth());
window.currentFbo.setHeight(GetScreenHeight());
window.currentFbo.width = window.render.width;
window.currentFbo.height = window.render.height;
}

// Begin custom shader mode
Expand Down

0 comments on commit b4a8e6b

Please sign in to comment.