aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-04-11 14:01:51 +0200
committerSamuel Pitoiset <[email protected]>2017-04-13 09:58:19 +0200
commitbdb53e240ba70b24263bd1e5fb7d24c12b804016 (patch)
treeda93d5082012368d33ccf052399d555700c25e66
parentb3375800d741bfc51d62049294f297a03d7cec76 (diff)
mesa: remove unused _mesa_unmarshal_BindBufferBase()
Fixes the following Clang warning. main/marshal.c:209:1: warning: unused function '_mesa_unmarshal_BindBufferBase' [-Wunused-function] _mesa_unmarshal_BindBufferBase(struct gl_context *ctx, const struct marshal_cmd_BindBufferBase *cmd) ^ 1 warning generated. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
-rw-r--r--src/mesa/main/marshal.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/main/marshal.c b/src/mesa/main/marshal.c
index ae32d257e93..ae4efb5ecbb 100644
--- a/src/mesa/main/marshal.c
+++ b/src/mesa/main/marshal.c
@@ -205,14 +205,6 @@ struct marshal_cmd_BindBufferBase
GLuint index;
GLuint buffer;
};
-static inline void
-_mesa_unmarshal_BindBufferBase(struct gl_context *ctx, const struct marshal_cmd_BindBufferBase *cmd)
-{
- const GLenum target = cmd->target;
- const GLuint index = cmd->index;
- const GLuint buffer = cmd->buffer;
- CALL_BindBufferBase(ctx->CurrentServerDispatch, (target, index, buffer));
-}
/** Tracks the current bindings for the vertex array and index array buffers.
*