[client] fix buffer overflow in opengl_options

buffer overflow loading opengl_options
This commit is contained in:
fishery 2020-03-28 15:24:05 -05:00 committed by Geoffrey McRae
parent b953b2b807
commit 94a35a6558

View file

@ -77,7 +77,8 @@ static struct Option opengl_options[] =
.description = "Use GL_AMD_pinned_memory if it is available", .description = "Use GL_AMD_pinned_memory if it is available",
.type = OPTION_TYPE_BOOL, .type = OPTION_TYPE_BOOL,
.value.x_bool = true .value.x_bool = true
} },
{0}
}; };
struct OpenGL_Options struct OpenGL_Options