[client] fix buffer overflow in opengl_options

buffer overflow loading opengl_options
This commit is contained in:
fishery authored and Geoffrey McRae committed 2020-04-02 00:17:19 +11:00
1 parent b953b2b807
commit 94a35a6558
1 file changed
+2 -1
+2 -1
View File
@@ -77,7 +77,8 @@ static struct Option opengl_options[] =
.description = "Use GL_AMD_pinned_memory if it is available",
.type = OPTION_TYPE_BOOL,
.value.x_bool = true
}
},
{0}
};
struct OpenGL_Options