Skip to content

Commit

Permalink
Merge pull request #220 from komadori/rk/screenshot-height
Browse files Browse the repository at this point in the history
Fix screenshots missing the bottom line of pixels
  • Loading branch information
SteveFosdick committed Jan 30, 2024
2 parents 388e1d8 + 44d9e44 commit 6c739ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vidalleg.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ static inline void save_screenshot(void)
vid_savescrshot--;
if (!vid_savescrshot) {
int xsize = lastx - firstx;
int ysize = lasty - firsty;
int ysize = lasty - firsty + 1;
ALLEGRO_BITMAP *scrshotb = al_create_bitmap(xsize, ysize << 1);
int c;

Expand Down

0 comments on commit 6c739ae

Please sign in to comment.