projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3d3c12
)
vbo: fix !FEATURE_beginend build
author
Chia-I Wu
<olv@lunarg.com>
Tue, 15 Nov 2011 17:07:26 +0000
(10:07 -0700)
committer
Chia-I Wu
<olv@lunarg.com>
Fri, 25 Nov 2011 03:18:50 +0000
(11:18 +0800)
Fix a build error in GLES-only build.
src/mesa/vbo/vbo_noop.h
patch
|
blob
|
history
diff --git
a/src/mesa/vbo/vbo_noop.h
b/src/mesa/vbo/vbo_noop.h
index f9180374fb87b894ba000d0186644d6a4793a549..92f61d356e375de50a4e57080adf8332c9efdd90 100644
(file)
--- 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 */