Skip to content

Commit

Permalink
[gemglfw3window] output dimension on window creation
Browse files Browse the repository at this point in the history
Closes: #410
  • Loading branch information
umlaeute committed Feb 5, 2024
1 parent 2a83d62 commit b067bd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Output/gemglfw3window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,8 @@ bool gemglfw3window :: create(void)
dispatch();

int fb_width=0, fb_height=0;
glfwGetWindowSize(m_window, &fb_width, &fb_height);
dimension(fb_width, fb_height);
glfwGetFramebufferSize(m_window, &fb_width, &fb_height);
framebuffersize(fb_width, fb_height);

Expand Down

0 comments on commit b067bd2

Please sign in to comment.