Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenGL examples: Strange results when minimize the system window #547

Closed
laizy opened this issue Mar 5, 2016 · 3 comments
Closed

OpenGL examples: Strange results when minimize the system window #547

laizy opened this issue Mar 5, 2016 · 3 comments

Comments

@laizy
Copy link

laizy commented Mar 5, 2016

Hi,it is my first time to use imgui. when i build the opengl_example code with visual studio and run it.
It is ok , but when i minimize the system window and then restore it will lead to strange results like the image below. note: build the example with the code version 1.47 don't have this problem. ;)

default

@ocornut ocornut changed the title strange results when minimize the system window OpenGL examples: Strange results when minimize the system window Mar 5, 2016
@ocornut ocornut added the bug label Mar 5, 2016
@ocornut
Copy link
Owner

ocornut commented Mar 6, 2016

Ouch. Caused by 2813a44 which change a lots of state without restoring it on early return.

@ocornut
Copy link
Owner

ocornut commented Mar 6, 2016

Fixed.

@ocornut ocornut closed this as completed Mar 6, 2016
@laizy
Copy link
Author

laizy commented Mar 6, 2016

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants