From: Marek Olšák Date: Wed, 24 Apr 2019 17:44:12 +0000 (-0400) Subject: mesa: fix a typo in map_named_buffer_range X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0de2754aa7b575616fb409c9c171d3ec99f269c6;p=mesa.git mesa: fix a typo in map_named_buffer_range Reviewed-by: Marek Olšák Signed-off-by: Marek Olšák --- 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;