bnoazx005 / TDEngine2

TDEngine2 is a cross-platform game engine
Apache License 2.0
18 stars 4 forks source link

[Bug] ImGUIContext incorrectly displays windows with a few images within #54

Closed bnoazx005 closed 3 years ago

bnoazx005 commented 3 years ago

Bug report

CImGUIContext's implementation has a bug that makes impossible to output user specific images

Environment

Win 10 (x64) / Visual Studio 2017 / TDEngine2-v0.4.~ / NVidia GTX 860M in GL3.x mode

Steps to reproduce the issue

  1. Try to display some image using CImGUIContext::Image method

What's the expected result?

The window should contain both textures font's one and another that was added via the method's call.

What's the actual result?

Instead of user's texture the default one is displayed all the time.

bnoazx005 commented 3 years ago

Fixed in 790716841d98895cd0f6d21be903867fd8befa43