Clarify an odd design choice

This commit is contained in:
Clownacy 2020-09-19 21:55:40 +01:00
parent a8bcf5a6fb
commit 1eb1e522c8

View file

@ -34,6 +34,8 @@ bool WindowBackend_OpenGL_CreateWindow(const char *window_title, size_t *screen_
if (monitor != NULL)
{
// Use current monitor resolution, because for some reason
// 640x480 causes my laptop to completely freeze on Linux.
const GLFWvidmode *mode = glfwGetVideoMode(monitor);
*screen_width = mode->width;