1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

opengl32: Return a proper NTSTATUS in the debug callback.

This commit is contained in:
Alexandre Julliard 2024-01-19 14:36:56 +01:00
parent b26d127897
commit 4b5b478de9

View file

@ -1285,11 +1285,12 @@ GLboolean WINAPI glUnmapNamedBufferEXT( GLuint buffer )
return gl_unmap_named_buffer( unix_glUnmapNamedBufferEXT, buffer );
}
static BOOL WINAPI call_opengl_debug_message_callback( struct wine_gl_debug_message_params *params, ULONG size )
static NTSTATUS WINAPI call_opengl_debug_message_callback( void *args, ULONG size )
{
struct wine_gl_debug_message_params *params = args;
params->user_callback( params->source, params->type, params->id, params->severity,
params->length, params->message, params->user_data );
return TRUE;
return STATUS_SUCCESS;
}
/***********************************************************************