libretro / libretro-lutro

An experimental lua game framework for libretro following the LÖVE API
https://lutro.libretro.com
MIT License
156 stars 46 forks source link

Make translations stack up #243

Closed adrian-castravete closed 1 year ago

adrian-castravete commented 1 year ago

By adding the previous values the translations now stack up instead of being overwritten with each new translate.

kivutar commented 1 year ago

They will stack up, but they won't stack down as we pop.

I think it's in the draw calls implementation that we should traverse the stack and calculate the resulting translation value.