Opened 3 years ago
Closed 3 years ago
#12731 closed defect (fixed)
AGS: Crash when starting Trilby's Note
Reported by: | criezy | Owned by: | dreammaster |
---|---|---|---|
Priority: | normal | Component: | Engine: AGS |
Version: | Keywords: | ||
Cc: | Game: |
Description
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.
Change History (2)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I was afraid the regression was from the big source code update from upstream. But fortunately it seems to be more recent.
A git bisect blames the following commit: