mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-22 10:18:51 -05:00
Fix initial windowed mode size for test
This commit is contained in:
parent
c19f36b28d
commit
cd01187b9d
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "getopt.h"
|
||||
|
||||
static int windowed_xpos, windowed_ypos, windowed_width, windowed_height;
|
||||
static int windowed_xpos, windowed_ypos, windowed_width = 640, windowed_height = 480;
|
||||
|
||||
static void usage(void)
|
||||
{
|
||||
|
@ -181,8 +181,8 @@ static GLFWwindow* create_window(GLFWmonitor* monitor)
|
|||
}
|
||||
else
|
||||
{
|
||||
width = 640;
|
||||
height = 480;
|
||||
width = windowed_width;
|
||||
height = windowed_height;
|
||||
}
|
||||
|
||||
window = glfwCreateWindow(width, height, "Iconify", monitor, NULL);
|
||||
|
|
Loading…
Reference in New Issue
Block a user