I’m getting increasingly confused on whether playdate.graphics.setImageDrawMode(mode) is context aware or not. I have some code where:
1. Set mode to inverted at game start.
2. Set mode to copy at some point during the update loop - inside a context.
3. Later draw calls use the inverted draw mode.
I can also observe that:
1. Set mode to inverted at game start.
2. Set mode to copy at some point during the update loop - OUTSIDE a context.
3. Later draw calls use the COPY draw mode.
When trying to reproduce this in a simplified test, I see that playdate.graphics.setImageDrawMode(mode) is not content aware.
I don’t trust my simplified test enough (which is why I’m not sharing it), so I figured I’d simply ask:
- Is
playdate.graphics.setImageDrawMode(mode)context aware? - Can we improve the docs to make this clear?