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
d18ff87a
Commit
d18ff87a
authored
Jul 21, 2016
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fail event query creation when event queries are not supported.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0a5e205c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
query.c
dlls/wined3d/query.c
+2
-5
No files found.
dlls/wined3d/query.c
View file @
d18ff87a
...
@@ -732,11 +732,8 @@ static HRESULT query_init(struct wined3d_query *query, struct wined3d_device *de
...
@@ -732,11 +732,8 @@ static HRESULT query_init(struct wined3d_query *query, struct wined3d_device *de
TRACE
(
"Event query.
\n
"
);
TRACE
(
"Event query.
\n
"
);
if
(
!
wined3d_event_query_supported
(
gl_info
))
if
(
!
wined3d_event_query_supported
(
gl_info
))
{
{
/* Half-Life 2 needs this query. It does not render the main
WARN
(
"Event queries not supported.
\n
"
);
* menu correctly otherwise. Pretend to support it, faking
return
WINED3DERR_NOTAVAILABLE
;
* this query does not do much harm except potentially
* lowering performance. */
FIXME
(
"Event query: Unimplemented, but pretending to be supported.
\n
"
);
}
}
query
->
query_ops
=
&
event_query_ops
;
query
->
query_ops
=
&
event_query_ops
;
query
->
data_size
=
sizeof
(
BOOL
);
query
->
data_size
=
sizeof
(
BOOL
);
...
...
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