mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Renamed GLFW_WINDOW to GLFW_WINDOWED.
This commit is contained in:
@@ -45,7 +45,7 @@ static const char* get_mode_name(int mode)
|
||||
{
|
||||
switch (mode)
|
||||
{
|
||||
case GLFW_WINDOW:
|
||||
case GLFW_WINDOWED:
|
||||
return "windowed";
|
||||
case GLFW_FULLSCREEN:
|
||||
return "fullscreen";
|
||||
@@ -128,7 +128,7 @@ int main(int argc, char** argv)
|
||||
|
||||
for (;;)
|
||||
{
|
||||
if (!open_window(640, 480, (count & 1) ? GLFW_FULLSCREEN : GLFW_WINDOW))
|
||||
if (!open_window(640, 480, (count & 1) ? GLFW_FULLSCREEN : GLFW_WINDOWED))
|
||||
{
|
||||
glfwTerminate();
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user