AGS: Crash when starting Trilby's Note
|Reported by:||criezy||Owned by:||dreammaster|
When starting Trilby's Note I get the following error:
Assertion failed: (format.bytesPerPixel == 2 || format.bytesPerPixel == 4 || (format.bytesPerPixel == 1 && srcBitmap->format.bytesPerPixel == 1)), function draw, file engines/ags/lib/allegro/surface.cpp, line 116.
In the debugger I can see that the source pixel format is 4bpp and the destination is 1bpp. This seems strange as I would expect the source to be 1bpp as well.
This is a regression as the game used to work.