Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4b5b478d
Commit
4b5b478d
authored
Jan 19, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: Return a proper NTSTATUS in the debug callback.
parent
b26d1278
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
wgl.c
dlls/opengl32/wgl.c
+3
-2
No files found.
dlls/opengl32/wgl.c
View file @
4b5b478d
...
@@ -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
*
param
s
,
ULONG
size
)
static
NTSTATUS
WINAPI
call_opengl_debug_message_callback
(
void
*
arg
s
,
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
;
}
}
/***********************************************************************
/***********************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment