Module: wine Branch: master Commit: 4b5b478de9890c5b840918f3730f37fd3f02121a URL: https://gitlab.winehq.org/wine/wine/-/commit/4b5b478de9890c5b840918f3730f37f...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Jan 19 14:36:56 2024 +0100
opengl32: Return a proper NTSTATUS in the debug callback.
---
dlls/opengl32/wgl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c index 40602d7d22d..a1c29a84fae 100644 --- a/dlls/opengl32/wgl.c +++ b/dlls/opengl32/wgl.c @@ -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; }
/***********************************************************************