Commit 4b5b478d authored by Alexandre Julliard's avatar Alexandre Julliard

opengl32: Return a proper NTSTATUS in the debug callback.

parent b26d1278
...@@ -1285,11 +1285,12 @@ GLboolean WINAPI glUnmapNamedBufferEXT( GLuint buffer ) ...@@ -1285,11 +1285,12 @@ GLboolean WINAPI glUnmapNamedBufferEXT( GLuint buffer )
return gl_unmap_named_buffer( unix_glUnmapNamedBufferEXT, 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->user_callback( params->source, params->type, params->id, params->severity,
params->length, params->message, params->user_data ); params->length, params->message, params->user_data );
return TRUE; return STATUS_SUCCESS;
} }
/*********************************************************************** /***********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment