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
c852200b
Commit
c852200b
authored
13 years ago
by
Henri Verbeet
Committed by
Alexandre Julliard
13 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of IWineD3DSurface::GetType().
parent
cc39bde9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
18 deletions
+3
-18
surface.c
dlls/d3d9/surface.c
+3
-9
surface.c
dlls/wined3d/surface.c
+0
-2
surface_base.c
dlls/wined3d/surface_base.c
+0
-5
wined3d.idl
include/wine/wined3d.idl
+0
-2
No files found.
dlls/d3d9/surface.c
View file @
c852200b
...
...
@@ -210,17 +210,11 @@ static void WINAPI IDirect3DSurface9Impl_PreLoad(LPDIRECT3DSURFACE9 iface) {
wined3d_mutex_unlock
();
}
static
D3DRESOURCETYPE
WINAPI
IDirect3DSurface9Impl_GetType
(
LPDIRECT3DSURFACE9
iface
)
{
IDirect3DSurface9Impl
*
This
=
(
IDirect3DSurface9Impl
*
)
iface
;
D3DRESOURCETYPE
ret
;
static
D3DRESOURCETYPE
WINAPI
IDirect3DSurface9Impl_GetType
(
IDirect3DSurface9
*
iface
)
{
TRACE
(
"iface %p.
\n
"
,
iface
);
wined3d_mutex_lock
();
ret
=
IWineD3DSurface_GetType
(
This
->
wineD3DSurface
);
wined3d_mutex_unlock
();
return
ret
;
return
D3DRTYPE_SURFACE
;
}
/* IDirect3DSurface9 Interface follow: */
...
...
This diff is collapsed.
Click to expand it.
dlls/wined3d/surface.c
View file @
c852200b
...
...
@@ -4922,7 +4922,6 @@ const IWineD3DSurfaceVtbl IWineD3DSurface_Vtbl =
IWineD3DBaseSurfaceImpl_SetPriority
,
IWineD3DBaseSurfaceImpl_GetPriority
,
IWineD3DSurfaceImpl_PreLoad
,
IWineD3DBaseSurfaceImpl_GetType
,
/* IWineD3DSurface */
IWineD3DBaseSurfaceImpl_GetResource
,
IWineD3DSurfaceImpl_Map
,
...
...
@@ -5550,7 +5549,6 @@ static const IWineD3DSurfaceVtbl IWineGDISurface_Vtbl =
IWineD3DBaseSurfaceImpl_SetPriority
,
IWineD3DBaseSurfaceImpl_GetPriority
,
IWineGDISurfaceImpl_PreLoad
,
IWineD3DBaseSurfaceImpl_GetType
,
/* IWineD3DSurface */
IWineD3DBaseSurfaceImpl_GetResource
,
IWineGDISurfaceImpl_Map
,
...
...
This diff is collapsed.
Click to expand it.
dlls/wined3d/surface_base.c
View file @
c852200b
...
...
@@ -157,11 +157,6 @@ DWORD WINAPI IWineD3DBaseSurfaceImpl_GetPriority(IWineD3DSurface *iface)
return
resource_get_priority
(
&
((
IWineD3DSurfaceImpl
*
)
iface
)
->
resource
);
}
WINED3DRESOURCETYPE
WINAPI
IWineD3DBaseSurfaceImpl_GetType
(
IWineD3DSurface
*
iface
)
{
return
resource_get_type
(
&
((
IWineD3DSurfaceImpl
*
)
iface
)
->
resource
);
}
void
*
WINAPI
IWineD3DBaseSurfaceImpl_GetParent
(
IWineD3DSurface
*
iface
)
{
TRACE
(
"iface %p.
\n
"
,
iface
);
...
...
This diff is collapsed.
Click to expand it.
include/wine/wined3d.idl
View file @
c852200b
...
...
@@ -2194,8 +2194,6 @@ interface IWineD3DSurface : IUnknown
)
;
void
PreLoad
(
)
;
WINED3DRESOURCETYPE
GetType
(
)
;
struct
wined3d_resource
*
GetResource
(
)
;
HRESULT
Map
(
...
...
This diff is collapsed.
Click to expand it.
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