diff options
author | Chia-I Wu <[email protected]> | 2011-11-15 10:07:26 -0700 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-11-25 11:18:50 +0800 |
commit | 42c2c371d6c4c82c3e9176e028281a91edfadafd (patch) | |
tree | 288db7e6932746c602f890f7c620a33226bbe855 /src | |
parent | d3d3c12a95bddb7b624818af559ab6b18d890d2f (diff) |
vbo: fix !FEATURE_beginend build
Fix a build error in GLES-only build.
Diffstat (limited to 'src')
-rw-r--r-- | 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 f9180374fb8..92f61d356e3 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 */ |