diff options
Diffstat (limited to 'src/mesa/main/bufferobj.h')
-rw-r--r-- | src/mesa/main/bufferobj.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h index 44ac95f40e9..d1291677222 100644 --- a/src/mesa/main/bufferobj.h +++ b/src/mesa/main/bufferobj.h @@ -60,17 +60,6 @@ _mesa_check_disallowed_mapping(const struct gl_buffer_object *obj) GL_MAP_PERSISTENT_BIT); } -/** - * Is the given buffer object a user-created buffer object? - * Mesa uses default buffer objects in several places. Default buffers - * always have Name==0. User created buffers have Name!=0. - */ -static inline GLboolean -_mesa_is_bufferobj(const struct gl_buffer_object *obj) -{ - return obj != NULL && obj->Name != 0; -} - extern void _mesa_init_buffer_objects(struct gl_context *ctx); |