kotlin-graphics / imgui

Bloat-free Immediate Mode Graphical User interface for JVM with minimal dependencies (rewrite of dear imgui)
MIT License
600 stars 36 forks source link

framebufferScale is not cloned #134

Closed h0bb3 closed 4 years ago

h0bb3 commented 4 years ago

We're working on a OSX version of a project using imgui and as it seems the framebufferScale variable is not cloned in fun clone(): DrawData.

This results in a framebufferScale of 0,0 which gives very small windows :)

elect86 commented 4 years ago

Hi tobias,

feel free to submit a PR, otherwise I'll take care of it the next iteration (working on the tests right now)

h0bb3 commented 4 years ago

done :) Though I will mention that there seem to be some stability issues on OSX. E.g. demo crashes immediately or after some frames with error code 134 about 1 time in 4. However this is another issue and I will post more when/if I get some more concrete points.

elect86 commented 4 years ago

thanks, a dedicated issue with more details will be useful!