ericoporto / ImGi

AGS Script Module for Immediate Gui (based on rxi's Microui)
https://www.adventuregamestudio.co.uk/forums/index.php?topic=58842.0
Other
2 stars 2 forks source link

Enhancement: work with 1 overlay #14

Closed ericoporto closed 3 years ago

ericoporto commented 3 years ago

In the future we have infinite overlays and z-ordering so it may be awesome doing things more performant there.

But right now it would be nice if it would work with a single overlay - right now it's in the middle of the road and there aren't great benefits from using multiple overlays.

Once the time has passed, then switch back to multi-overlay implementation.

This will prevent crashes when the renderer has no more than 20 overlays to workout.

ericoporto commented 3 years ago

https://github.com/ericoporto/ImGi/commit/beb9cfc8868851b629b90a6f52a7d53a81883baa

this should work alright for now.