mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
mesa: fix a typo in map_named_buffer_range
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
9c53a2ecb7
commit
0de2754aa7
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue