}
-GLboolean
-_mesa_unmap_buffer(struct gl_context *ctx, struct gl_buffer_object *bufObj,
- const char *func)
+static GLboolean
+unmap_buffer(struct gl_context *ctx, struct gl_buffer_object *bufObj,
+ const char *func)
{
GLboolean status = GL_TRUE;
ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx, GL_FALSE);
if (!bufObj)
return GL_FALSE;
- return _mesa_unmap_buffer(ctx, bufObj, "glUnmapBuffer");
+ return unmap_buffer(ctx, bufObj, "glUnmapBuffer");
}
GLboolean GLAPIENTRY
if (!bufObj)
return GL_FALSE;
- return _mesa_unmap_buffer(ctx, bufObj, "glUnmapNamedBuffer");
+ return unmap_buffer(ctx, bufObj, "glUnmapNamedBuffer");
}
const GLvoid *data,
const char *func, bool subdata);
-extern GLboolean
-_mesa_unmap_buffer(struct gl_context *ctx, struct gl_buffer_object *bufObj,
- const char *func);
-
/*
* API functions
*/