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
51b67153
Commit
51b67153
authored
Aug 11, 2023
by
Paul Gofman
Committed by
Alexandre Julliard
Aug 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: Skip debug callback messages called from native thread.
parent
6bd87223
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
unix_wgl.c
dlls/opengl32/unix_wgl.c
+8
-1
No files found.
dlls/opengl32/unix_wgl.c
View file @
51b67153
...
...
@@ -903,8 +903,15 @@ static void gl_debug_message_callback( GLenum source, GLenum type, GLuint id, GL
};
void
*
ret_ptr
;
ULONG
ret_len
;
struct
wgl_handle
*
ptr
=
(
struct
wgl_handle
*
)
userParam
;
if
(
!
NtCurrentTeb
())
{
fprintf
(
stderr
,
"msg:gl_debug_message_callback called from native thread, severity %#x, message
\"
%.*s
\"
.
\n
"
,
severity
,
length
,
message
);
return
;
}
if
(
!
(
params
.
user_callback
=
ptr
->
u
.
context
->
debug_callback
))
return
;
params
.
user_data
=
ptr
->
u
.
context
->
debug_user
;
...
...
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