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
14c3387f
Commit
14c3387f
authored
Feb 03, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the IWineD3DQuery typedefs.
parent
a5fe3610
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
device.c
dlls/wined3d/device.c
+3
-3
query.c
dlls/wined3d/query.c
+2
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-3
No files found.
dlls/wined3d/device.c
View file @
14c3387f
...
...
@@ -1236,10 +1236,10 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateCubeTexture(IWineD3DDevice *iface
}
static
HRESULT
WINAPI
IWineD3DDeviceImpl_CreateQuery
(
IWineD3DDevice
*
iface
,
WINED3DQUERYTYPE
type
,
IWineD3DQ
uery
**
query
)
WINED3DQUERYTYPE
type
,
struct
wined3d_q
uery
**
query
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
IWineD3DQueryImpl
*
object
;
struct
wined3d_query
*
object
;
HRESULT
hr
;
TRACE
(
"iface %p, type %#x, query %p.
\n
"
,
iface
,
type
,
query
);
...
...
@@ -1260,7 +1260,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateQuery(IWineD3DDevice *iface,
}
TRACE
(
"Created query %p.
\n
"
,
object
);
*
query
=
(
IWineD3DQuery
*
)
object
;
*
query
=
object
;
return
WINED3D_OK
;
}
...
...
dlls/wined3d/query.c
View file @
14c3387f
...
...
@@ -370,7 +370,7 @@ static HRESULT wined3d_occlusion_query_ops_get_data(struct wined3d_query *query,
return
res
;
}
static
HRESULT
wined3d_event_query_ops_get_data
(
IWineD3DQueryImpl
*
query
,
static
HRESULT
wined3d_event_query_ops_get_data
(
struct
wined3d_query
*
query
,
void
*
pData
,
DWORD
dwSize
,
DWORD
flags
)
{
struct
wined3d_event_query
*
event_query
=
query
->
extendedData
;
...
...
@@ -547,7 +547,7 @@ static const struct wined3d_query_ops occlusion_query_ops =
wined3d_occlusion_query_ops_issue
,
};
HRESULT
query_init
(
IWineD3DQueryImpl
*
query
,
IWineD3DDeviceImpl
*
device
,
WINED3DQUERYTYPE
type
)
HRESULT
query_init
(
struct
wined3d_query
*
query
,
IWineD3DDeviceImpl
*
device
,
WINED3DQUERYTYPE
type
)
{
const
struct
wined3d_gl_info
*
gl_info
=
&
device
->
adapter
->
gl_info
;
...
...
dlls/wined3d/wined3d_private.h
View file @
14c3387f
...
...
@@ -58,8 +58,6 @@ typedef struct IWineD3DSwapChainImpl IWineD3DSwapChainImpl;
struct
IWineD3DBaseShaderImpl
;
struct
IWineD3DBaseTextureImpl
;
struct
IWineD3DResourceImpl
;
typedef
struct
wined3d_query
IWineD3DQueryImpl
;
typedef
struct
wined3d_query
IWineD3DQuery
;
/* Texture format fixups */
...
...
@@ -2487,7 +2485,7 @@ struct wined3d_query
void
*
extendedData
;
};
HRESULT
query_init
(
IWineD3DQueryImpl
*
query
,
IWineD3DDeviceImpl
*
device
,
WINED3DQUERYTYPE
type
)
DECLSPEC_HIDDEN
;
HRESULT
query_init
(
struct
wined3d_query
*
query
,
IWineD3DDeviceImpl
*
device
,
WINED3DQUERYTYPE
type
)
DECLSPEC_HIDDEN
;
/* IWineD3DBuffer */
...
...
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