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

Imgui integration renders incorrectly in some instances #136

Closed
einarf opened this issue Apr 18, 2021 · 1 comment
Closed

Imgui integration renders incorrectly in some instances #136

einarf opened this issue Apr 18, 2021 · 1 comment

Comments

@einarf
Copy link
Member

einarf commented Apr 18, 2021

After poking around the following was seen:

  • self.wnd.size changes with the window size
  • self.ctx.screen.size stays fixed at (1280, 720)

I'm wondering if we should do a detect_framebuffer on resize to ensure we have the right framebuffer information. Also consider querying the source information for screen and buffer sizes in BaseWindow so we don't rely on possibly stale information. There might also be events for framebuffer scaling changes.

Another theory is that the framebuffer retains the previous scissor box. We might also only want to rely on the framebuffer information from the window library.

@einarf
Copy link
Member Author

einarf commented May 8, 2021

fixed

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

No branches or pull requests

1 participant