From: Chia-I Wu Date: Mon, 31 May 2010 09:35:02 +0000 (+0800) Subject: mesa: Fix excess initializers in get.c table. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=593cf8b54c288e6dda44da597b961bfb98d111ca;p=mesa.git mesa: Fix excess initializers in get.c table. --- diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 1cb6cffb6a6..03f2707f4f0 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -674,14 +674,14 @@ static const struct value_desc values[] = { #if FEATURE_ES2 /* Enums unique to OpenGL ES 2.0 */ - { 0, 0, TYPE_API_MASK, API_OPENGLES2_BIT, NO_OFFSET, NO_EXTRA }, + { 0, 0, TYPE_API_MASK, API_OPENGLES2_BIT, NO_EXTRA }, { GL_MAX_FRAGMENT_UNIFORM_VECTORS, LOC_CUSTOM, TYPE_INT, offsetof(GLcontext, Const.FragmentProgram.MaxUniformComponents), NO_EXTRA }, { GL_MAX_VARYING_VECTORS, LOC_CUSTOM, TYPE_INT, offsetof(GLcontext, Const.MaxVarying), NO_EXTRA }, { GL_MAX_VERTEX_UNIFORM_VECTORS, LOC_CUSTOM, TYPE_INT, offsetof(GLcontext, Const.VertexProgram.MaxUniformComponents), NO_EXTRA }, - { GL_SHADER_COMPILER, CONST(1), NO_EXTRA, NO_EXTRA }, + { GL_SHADER_COMPILER, CONST(1), NO_EXTRA }, /* OES_get_program_binary */ { GL_NUM_SHADER_BINARY_FORMATS, CONST(0), NO_EXTRA }, { GL_SHADER_BINARY_FORMATS, CONST(0), NO_EXTRA },