Skip to content

Commit

Permalink
Fixed an issue with handling images from HzMod
Browse files Browse the repository at this point in the history
  • Loading branch information
ChainSwordCS committed Aug 23, 2024
1 parent 364f258 commit c99b73c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/chokistream/HZModClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public HZModClient(String host, int quality, int capCPU, ColorMode receivedColor
colorMode = receivedColorMode;
this.quality = quality;

lastTopImage = new BufferedImage(240, 400, BufferedImage.TYPE_INT_RGB);
lastBottomImage = new BufferedImage(240, 320, BufferedImage.TYPE_INT_RGB);
lastTopImage = new BufferedImage(400, 240, BufferedImage.TYPE_INT_RGB);
lastBottomImage = new BufferedImage(320, 240, BufferedImage.TYPE_INT_RGB);

if (capCPU > 0) {
sendLimitCPU(capCPU);
Expand Down

0 comments on commit c99b73c

Please sign in to comment.