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

On the issue of window size. #475

Open
GraphicsEnthusiast opened this issue May 18, 2023 · 1 comment
Open

On the issue of window size. #475

GraphicsEnthusiast opened this issue May 18, 2023 · 1 comment

Comments

@GraphicsEnthusiast
Copy link

How should I set the actual window size to be the same as the window size created by glfw?
image
I want the image in the bottom left corner to fill the screen.

@Klivess
Copy link

Klivess commented Aug 15, 2023

https://docs.gl/gl4/glViewport does this.

glViewport(0, 0, GLFWwindowWidth, GLFWwindowHeight);

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

2 participants