]> gitweb.factorcode.org Git - factor.git/commit
snake-game.ui: load game textures in graft, dispose in ungraft.
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 19 Jan 2018 23:11:41 +0000 (15:11 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 19 Jan 2018 23:11:41 +0000 (15:11 -0800)
commit4a50385af1bc7123b6a0b9f6e6c5e84e927d7b47
treed579615609eca6038a90844da31d92c0f1a61b2c
parent9e32cce5ed6c21d2e86481aa652b7a8fdc64e9b3
snake-game.ui: load game textures in graft, dispose in ungraft.

Use find-gl-context to fix dispose bug that was corrupting UI on macOS.
extra/snake-game/ui/ui.factor