exokitxr / exokit

Native VR/AR/XR engine for JavaScript 🦖
MIT License
997 stars 117 forks source link

Bugfix add exokit app icon #1409

Closed humbletim closed 5 years ago

humbletim commented 5 years ago

This PR implements @chrisplatorres's idea from #995 of using STB to decode an app icon and then pass to glfw.

Right now the icon is referenced using an unqualified relative path ("assets/icon.png"), which appears to "just work" for dev builds -- but may need further thought depending on how things like exokit prebuilts are being packaged.