Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
32be503c
Commit
32be503c
authored
Feb 28, 2008
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Give occlusion queries their own vtable.
parent
071d4afb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
111 additions
and
84 deletions
+111
-84
device.c
dlls/wined3d/device.c
+2
-2
query.c
dlls/wined3d/query.c
+108
-82
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-0
No files found.
dlls/wined3d/device.c
View file @
32be503c
...
...
@@ -1149,12 +1149,12 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateQuery(IWineD3DDevice *iface, WINE
switch
(
Type
)
{
case
WINED3DQUERYTYPE_OCCLUSION
:
TRACE
(
"(%p) occlusion query
\n
"
,
This
);
/* Use the base Query vtable until we have a occlusion query one */
vtable
=
&
IWineD3DQuery_Vtbl
;
if
(
GL_SUPPORT
(
ARB_OCCLUSION_QUERY
))
hr
=
WINED3D_OK
;
else
WARN
(
"Unsupported in local OpenGL implementation: ARB_OCCLUSION_QUERY/NV_OCCLUSION_QUERY
\n
"
);
vtable
=
&
IWineD3DOcclusionQuery_Vtbl
;
break
;
case
WINED3DQUERYTYPE_EVENT
:
...
...
dlls/wined3d/query.c
View file @
32be503c
This diff is collapsed.
Click to expand it.
dlls/wined3d/wined3d_private.h
View file @
32be503c
...
...
@@ -1572,6 +1572,7 @@ typedef struct IWineD3DQueryImpl
extern
const
IWineD3DQueryVtbl
IWineD3DQuery_Vtbl
;
extern
const
IWineD3DQueryVtbl
IWineD3DEventQuery_Vtbl
;
extern
const
IWineD3DQueryVtbl
IWineD3DOcclusionQuery_Vtbl
;
/* Datastructures for IWineD3DQueryImpl.extendedData */
typedef
struct
WineQueryOcclusionData
{
...
...
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