dalerank / nanogui-sdl

Minimalistic port of NanoGUI claim works with SDL API w/o external dependencies.
Other
437 stars 77 forks source link

Fix flickering when next Texture was requested #60

Closed akuskis closed 2 years ago

akuskis commented 2 years ago

Fix flickering for Window and Button classes (there are some other components, but their flickering is less visible and can be fixed after).

As lazy loading is used here, I suggest to use current texture until required object is ready.

Related to #55

dalerank commented 2 years ago

Thanks