From: Michal Krol Date: Thu, 14 Apr 2005 10:30:08 +0000 (+0000) Subject: cosmetic changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed5f790919da3ca982a0c3d2f0c705093ed6163f;p=mesa.git cosmetic changes --- diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 55eba1e9036..3cb90447013 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -750,12 +750,13 @@ _mesa_init_exec_table(struct _glapi_table *exec) exec->GetUniformfvARB = _mesa_GetUniformfvARB; exec->GetUniformivARB = _mesa_GetUniformivARB; exec->GetShaderSourceARB = _mesa_GetShaderSourceARB; -#if FEATURE_ARB_vertex_shader - exec->BindAttribLocationARB = _mesa_BindAttribLocationARB; - exec->GetActiveAttribARB = _mesa_GetActiveAttribARB; - exec->GetAttribLocationARB = _mesa_GetAttribLocationARB; -#endif -#endif /* FEATURE_ARB_shader_objects */ +#endif /* FEATURE_ARB_shader_objects */ + +#if FEATURE_ARB_vertex_shader + exec->BindAttribLocationARB = _mesa_BindAttribLocationARB; + exec->GetActiveAttribARB = _mesa_GetActiveAttribARB; + exec->GetAttribLocationARB = _mesa_GetAttribLocationARB; +#endif /* FEATURE_ARB_vertex_shader */ /* GL_ATI_fragment_shader */ #if FEATURE_ATI_fragment_shader