summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/state.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2005-04-14 10:30:08 +0000
committerMichal Krol <[email protected]>2005-04-14 10:30:08 +0000
commited5f790919da3ca982a0c3d2f0c705093ed6163f (patch)
tree656961a7ce11f8478ffc5ba3f665b2a90e64336f /src/mesa/main/state.c
parent8c01903114c770e735b66e343302d9d9f122d22e (diff)
cosmetic changes
Diffstat (limited to 'src/mesa/main/state.c')
-rw-r--r--src/mesa/main/state.c13
1 files 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