summaryrefslogtreecommitdiff
path: root/src/mesa/main/api_noop.h
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-12 18:59:13 +0800
committerBrian Paul <brianp@vmware.com>2009-09-30 08:31:56 -0600
commitcef97267d696d37f4dccb22951499ca25d5d87ad (patch)
tree27154b35764d4bd573667b6338e2873a95cc900d /src/mesa/main/api_noop.h
parenta73ba2d31b87e974f6846a8aaced704634f6f657 (diff)
mesa/main: New feature FEATURE_beginend.
This feature corresponds to the Begin/End paradigm. Disabling this feature also eliminates the use of GLvertexformat completely.
Diffstat (limited to 'src/mesa/main/api_noop.h')
-rw-r--r--src/mesa/main/api_noop.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/main/api_noop.h b/src/mesa/main/api_noop.h
index 1150984d64..e7fd49bafb 100644
--- a/src/mesa/main/api_noop.h
+++ b/src/mesa/main/api_noop.h
@@ -25,8 +25,9 @@
#ifndef _API_NOOP_H
#define _API_NOOP_H
-#include "mtypes.h"
-#include "context.h"
+#include "main/mtypes.h"
+
+#if FEATURE_beginend
extern void GLAPIENTRY
_mesa_noop_Rectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
@@ -54,4 +55,6 @@ _mesa_noop_MultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count,
extern void
_mesa_noop_vtxfmt_init(GLvertexformat *vfmt);
-#endif
+#endif /* FEATURE_beginend */
+
+#endif /* _API_NOOP_H */