gergelydaniel / kgl

Lightweight OpenGL abstraction for Kotlin Multiplatform
MIT License
38 stars 9 forks source link

Allow passing bitmap as TextureResource in android target #23

Open wakaztahir opened 9 months ago

wakaztahir commented 9 months ago

This pull request required some changes, some methods had to be introduced in the TextureAsset interface which is implemented by TextureResource, It makes the code in TextureAsset a tiny bit ugly though it manages to accomplish the goal, You should take a look at this pull request and maybe even improve it

Fixes #20

wakaztahir commented 9 months ago

merged #22

It doesn't provide IOS solution (I work on windows)