From bc2f26b86d5c38db0a9928c49ddcf8c7047bf4ef Mon Sep 17 00:00:00 2001 From: Tudor Brindus Date: Sun, 3 Jan 2021 22:19:46 -0500 Subject: [PATCH] [client] set default opengl:vsync=off This makes it consistent with the EGL renderer. --- client/README.md | 2 +- client/renderers/OpenGL/opengl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/README.md b/client/README.md index df3aabd6..802d1c76 100644 --- a/client/README.md +++ b/client/README.md @@ -159,7 +159,7 @@ Command line arguments will override any options loaded from the config files. | Long | Short | Value | Description | |------------------------------------------------------------------------------------| | opengl:mipmap | | yes | Enable mipmapping | -| opengl:vsync | | yes | Enable vsync | +| opengl:vsync | | no | Enable vsync | | opengl:preventBuffer | | yes | Prevent the driver from buffering frames | | opengl:amdPinnedMem | | yes | Use GL_AMD_pinned_memory if it is available | |------------------------------------------------------------------------------------| diff --git a/client/renderers/OpenGL/opengl.c b/client/renderers/OpenGL/opengl.c index 7624a97b..a00f46ae 100644 --- a/client/renderers/OpenGL/opengl.c +++ b/client/renderers/OpenGL/opengl.c @@ -62,7 +62,7 @@ static struct Option opengl_options[] = .name = "vsync", .description = "Enable vsync", .type = OPTION_TYPE_BOOL, - .value.x_bool = true + .value.x_bool = false }, { .module = "opengl",