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
54976a03
Commit
54976a03
authored
Aug 20, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use a slightly shorter timeout in wined3d_event_query_finish().
parent
e426fa9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
query.c
dlls/wined3d/query.c
+4
-1
No files found.
dlls/wined3d/query.c
View file @
54976a03
...
...
@@ -141,7 +141,10 @@ enum wined3d_event_query_result wined3d_event_query_finish(const struct wined3d_
ENTER_GL
();
if
(
gl_info
->
supported
[
ARB_SYNC
])
{
GLenum
gl_ret
=
GL_EXTCALL
(
glClientWaitSync
(
query
->
object
.
sync
,
0
,
~
(
GLuint64
)
0
));
/* Apple seems to be into arbitrary limits, and timeouts larger than
* 0xfffffffffffffbff immediately return GL_TIMEOUT_EXPIRED. We don't
* really care and can live with waiting a few μs less. (OS X 10.7.4). */
GLenum
gl_ret
=
GL_EXTCALL
(
glClientWaitSync
(
query
->
object
.
sync
,
GL_SYNC_FLUSH_COMMANDS_BIT
,
~
(
GLuint64
)
0xffff
));
checkGLcall
(
"glClientWaitSync"
);
switch
(
gl_ret
)
...
...
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