Skip to content

Instantly share code, notes, and snippets.

@CharlieCrisp
Last active April 15, 2021 18:30
Show Gist options
  • Select an option

  • Save CharlieCrisp/cc26bf317a90f97fb0f136f6657632b7 to your computer and use it in GitHub Desktop.

Select an option

Save CharlieCrisp/cc26bf317a90f97fb0f136f6657632b7 to your computer and use it in GitHub Desktop.
Example off how not to set canvas size using emscripten + glfw
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