Skip to content

Commit

Permalink
Merge pull request #718 from jmfergeau/patch-1
Browse files Browse the repository at this point in the history
fix:  Jukebox graphics not displaying correctly
  • Loading branch information
barbeque-squared authored Jun 17, 2023
2 parents d243ff9 + c15d8af commit 5dbd8c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/base/UImage.pas
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,7 @@ procedure ColorizeImage(ImgSurface: PSDL_Surface; NewColor: longword);
// PixelColors[3] is alpha and remains untouched
Inc(Pixel, ImgSurface^.format.BytesPerPixel);
end;
SDL_UnlockSurface(ImgSurface);
exit; // we are done with a greyscale image.
end;

Expand Down

0 comments on commit 5dbd8c4

Please sign in to comment.