mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 10:18:05 +02:00
mesa: fix function prototype
Replace void* by GLvoid* and add GLAPIENTRY to match the gl_API.xml
version.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14164
Fixes: ae75b59cb5 ("glthread, tc: Fix buffer release with glthread and tc")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38029>
This commit is contained in:
parent
bff723e50c
commit
671e943c9b
2 changed files with 2 additions and 2 deletions
|
|
@ -405,7 +405,7 @@ void _mesa_glthread_unbind_uploaded_vbos(struct gl_context *ctx);
|
|||
void _mesa_glthread_PixelStorei(struct gl_context *ctx, GLenum pname,
|
||||
GLint param);
|
||||
|
||||
void _mesa_InternalReleaseBufferMESA(void *buffer);
|
||||
void GLAPIENTRY _mesa_InternalReleaseBufferMESA(GLvoid *buffer);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ new_upload_buffer(struct gl_context *ctx, GLsizeiptr size, uint8_t **ptr)
|
|||
return obj;
|
||||
}
|
||||
|
||||
void _mesa_InternalReleaseBufferMESA(void *buffer)
|
||||
void GLAPIENTRY _mesa_InternalReleaseBufferMESA(GLvoid *buffer)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
struct gl_buffer_object *buf = buffer;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue