scp-fs2open / scp-fs2open/fs2open.github.com
Lua drawImage function loses colors if aaImage is set to true, then false, in two calls in a row with the same image.
- Dominant language
- C++
- Stars
- 487
- Forks
- 184
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 45
Description
As I understand it, when the `aaImage` parameter is set to false, it should always draw the image with its original colors, and if its set to false, use the current 2D drawing color to draw it in tinted monochrome.
However, while testing and developing other features, I found that if you call the function twice, with the first call set to true, the second set to false, then the second image is drawn in red with a black background (regardless of transparency and of what is the current color)
Tested on current nightly as well as on commit 56e687076 (right before the more recent changes to drawImage) with the same results.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.