Fix Windows newlines.
[mesa.git] / src / mesa / shader / shaderobjects.c
index 3d315464530dbd42b596f60cf26c1e598d44cfac..f26ff12adf12c7536845b8e4c09ba8fca7619eb3 100644 (file)
@@ -36,6 +36,8 @@
 #include "shaderobjects_3dlabs.h"
 
 
+#if FEATURE_ARB_shader_objects
+
 #define RELEASE_GENERIC(x)\
    (**x)._unknown.Release ((struct gl2_unknown_intf **) (x))
 
@@ -1198,6 +1200,8 @@ _mesa_GetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name)
        return loc;
 }
 
+#endif
+
 GLvoid
 _mesa_init_shaderobjects (GLcontext *ctx)
 {