Search found 1 match
- Sun Oct 05, 2014 2:25 am
- Forum: Support and Development
- Topic: push and pop for graphics ?
- Replies: 8
- Views: 9760
Re: push and pop for graphics ?
Based on Ranguna259's answer, here's maybe a less ugly way :) local stack = {} function pushGraphics() --Store current config local config = {} config.backgroundColor = { love.graphics.getBackgroundColor() } config.blendMode = { love.graphics.getBlendMode() } config.canvas = { love.graphics.getCanva...