summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-04-24 13:44:12 -0400
committerMarek Olšák <[email protected]>2019-06-28 15:41:25 -0400
commit0de2754aa7b575616fb409c9c171d3ec99f269c6 (patch)
tree7beaebc5db9382405bd5b6dad2668cee38e9882a
parent9c53a2ecb7d5c6c51abf12d7488e75ebd27d0c9d (diff)
mesa: fix a typo in map_named_buffer_range
Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
-rw-r--r--src/mesa/main/bufferobj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index b15e9f36e14..71bc9312f45 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -3279,7 +3279,7 @@ _mesa_MapNamedBufferRange_no_error(GLuint buffer, GLintptr offset,
static void *
map_named_buffer_range(GLuint buffer, GLintptr offset, GLsizeiptr length,
- GLbitfield access, bool dst_ext, const char *func)
+ GLbitfield access, bool dsa_ext, const char *func)
{
GET_CURRENT_CONTEXT(ctx);
struct gl_buffer_object *bufObj = NULL;
@@ -3290,7 +3290,7 @@ map_named_buffer_range(GLuint buffer, GLintptr offset, GLsizeiptr length,
return NULL;
}
- if (dst_ext) {
+ if (dsa_ext) {
bufObj = _mesa_lookup_bufferobj(ctx, buffer);
if (!_mesa_handle_bind_buffer_gen(ctx, buffer, &bufObj, func))
return NULL;