summaryrefslogtreecommitdiff
path: root/src/mesa/main/hint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/hint.h')
-rw-r--r--src/mesa/main/hint.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mesa/main/hint.h b/src/mesa/main/hint.h
index f33be7b54d..57f3823fcf 100644
--- a/src/mesa/main/hint.h
+++ b/src/mesa/main/hint.h
@@ -1,3 +1,12 @@
+/**
+ * \file hint.h
+ * Hints operations.
+ *
+ * \if subset
+ * (No-op)
+ *
+ * \endif
+ */
/*
* Mesa 3-D graphics library
@@ -30,9 +39,19 @@
#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