Merge Jose's documentation and core Mesa changes from embedded branch
[mesa.git] / src / mesa / main / hint.h
index f33be7b54dff4036ffc413cba85cbea458b86dc4..57f3823fcfbf67bb934e0e0bc8897fac2e6d6700 100644 (file)
@@ -1,3 +1,12 @@
+/**
+ * \file hint.h
+ * Hints operations.
+ * 
+ * \if subset
+ * (No-op)
+ *
+ * \endif
+ */
 
 /*
  * Mesa 3-D graphics library
 
 #include "mtypes.h"
 
+#if _HAVE_FULL_GL
 
 extern void
 _mesa_Hint( GLenum target, GLenum mode );
 
+extern void 
+_mesa_init_hint( GLcontext * ctx );
+
+#else
+
+/** No-op */
+#define _mesa_init_hint( c ) ((void) 0)
+
+#endif
 
 #endif