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

core: window resizing doesn't really work on Wayland #1273

Open
joshua-holmes opened this issue Sep 18, 2024 · 2 comments
Open

core: window resizing doesn't really work on Wayland #1273

joshua-holmes opened this issue Sep 18, 2024 · 2 comments
Labels
bug Something isn't working needs-triage Issues that need triaging

Comments

@joshua-holmes
Copy link
Contributor

When I run any example - I'll use core-triangle for instance - resizing the window does not resize the "canvas", so it just stretches and squishes everything. Not sure if this is a Wayland issue or Vulkan issue.

image:
image

@joshua-holmes joshua-holmes added bug Something isn't working needs-triage Issues that need triaging labels Sep 18, 2024
@dysphoriac
Copy link

i think this is just because the vertex shader for this example is outputting the vertices straight to Normalized Device Coordinates, which are just drawn to the window. the coordinates go from -1 to 1 so when the window is stretched the triangle remains in the same proportion

@joshua-holmes
Copy link
Contributor Author

Would that impact MANGOHUD in this way though?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Issues that need triaging
Projects
None yet
Development

No branches or pull requests

2 participants