Last active
April 15, 2021 18:30
-
-
Save CharlieCrisp/cc26bf317a90f97fb0f136f6657632b7 to your computer and use it in GitHub Desktop.
Example off how not to set canvas size using emscripten + glfw
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| glfwSetWindowSize(mWindow, width, height); | |
| glViewport(0, 0, width, height); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment