Mesa (master): vbo: fix !FEATURE_beginend build
Chia-I Wu
olv at kemper.freedesktop.org
Fri Nov 25 03:19:14 UTC 2011
Module: Mesa
Branch: master
Commit: 42c2c371d6c4c82c3e9176e028281a91edfadafd
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=42c2c371d6c4c82c3e9176e028281a91edfadafd
Author: Chia-I Wu <olv at lunarg.com>
Date: Tue Nov 15 10:07:26 2011 -0700
vbo: fix !FEATURE_beginend build
Fix a build error in GLES-only build.
---
src/mesa/vbo/vbo_noop.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/mesa/vbo/vbo_noop.h b/src/mesa/vbo/vbo_noop.h
index f918037..92f61d3 100644
--- a/src/mesa/vbo/vbo_noop.h
+++ b/src/mesa/vbo/vbo_noop.h
@@ -38,6 +38,12 @@ _mesa_noop_vtxfmt_init(GLvertexformat *vfmt);
extern GLboolean
_mesa_using_noop_vtxfmt(const struct _glapi_table *dispatch);
+#else
+
+static inline void
+_mesa_noop_vtxfmt_init(GLvertexformat *vfmt)
+{
+}
#endif /* FEATURE_beginend */
More information about the mesa-commit
mailing list