mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58: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> (cherry picked from commit671e943c9b) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38803>
This commit is contained in:
parent
f21dca7139
commit
1430b06e9b
3 changed files with 3 additions and 3 deletions
|
|
@ -1184,7 +1184,7 @@
|
|||
"description": "mesa: fix function prototype",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "ae75b59cb526eff5de906726b105e33258a283cf",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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