From ed5f790919da3ca982a0c3d2f0c705093ed6163f Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Thu, 14 Apr 2005 10:30:08 +0000 Subject: [PATCH] cosmetic changes --- src/mesa/main/state.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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 -- 2.30.2