From e63e97704d0f6fb46f6ecdc12edca4f8d176551f Mon Sep 17 00:00:00 2001 From: mittorn Date: Wed, 1 Nov 2023 21:37:39 +0300 Subject: [PATCH] buffers: fix wrong attributes --- src/gl/buffers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/buffers.c b/src/gl/buffers.c index eb539da6..a9909176 100644 --- a/src/gl/buffers.c +++ b/src/gl/buffers.c @@ -469,7 +469,7 @@ void* APIENTRY_GL4ES gl4es_glMapBuffer(GLenum target, GLenum access) { noerrorShim(); return buff->data; // Not nice, should do some copy or something probably } -void* APIENTRY_GLES gl4es_glMapNamedBuffer(GLuint buffer, GLenum access) { +void* APIENTRY_GL4ES gl4es_glMapNamedBuffer(GLuint buffer, GLenum access) { DBG(printf("glMapNamedBuffer(%u, %s)\n", buffer, PrintEnum(access));) glbuffer_t *buff = getbuffer_id(buffer);