You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have changed the demo code so it allows window resizing, but when I'm resizing window part of the window contents is being covered by black rectangle.
Screenshots below show the problem:
first one is how it looks after program started
second and third are after resizing window to make it bigger.
Can you please help me understand why is that black rectangle appearing?
It was caused by glEnable(GL_SCISSOR_TEST) being enabled all the time. It looks like it has to be disabled for resizing and then reenabled for drawing gui.
Hello, I have changed the demo code so it allows window resizing, but when I'm resizing window part of the window contents is being covered by black rectangle.
Screenshots below show the problem:
first one is how it looks after program started
second and third are after resizing window to make it bigger.
Can you please help me understand why is that black rectangle appearing?
This is how I implemented resizing: https://github.com/tomaszte/microui/commit/d975c07eb59521ce692029387454a478969b7507
The text was updated successfully, but these errors were encountered: