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
07c761a6
Commit
07c761a6
authored
Jun 14, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jun 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Implement IDirect3D7::EvictManagedTextures.
parent
19a1b742
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
ddraw.c
dlls/ddraw/ddraw.c
+8
-4
No files found.
dlls/ddraw/ddraw.c
View file @
07c761a6
...
...
@@ -5126,12 +5126,16 @@ static HRESULT WINAPI d3d3_EnumZBufferFormats(IDirect3D3 *iface, REFCLSID device
*****************************************************************************/
static
HRESULT
WINAPI
d3d7_EvictManagedTextures
(
IDirect3D7
*
iface
)
{
FIXME
(
"iface %p stub!
\n
"
,
iface
);
IDirectDrawImpl
*
This
=
impl_from_IDirect3D7
(
iface
);
HRESULT
hr
;
TRACE
(
"iface %p!
\n
"
,
iface
);
/* TODO: Just enumerate resources using IWineD3DDevice_EnumResources(),
* then unload surfaces / textures. */
EnterCriticalSection
(
&
ddraw_cs
);
if
(
!
This
->
d3d_initialized
)
hr
=
D3D_OK
;
else
hr
=
wined3d_device_evict_managed_resources
(
This
->
wined3d_device
);
LeaveCriticalSection
(
&
ddraw_cs
);
return
D3D_OK
;
return
hr
;
}
static
HRESULT
WINAPI
d3d3_EvictManagedTextures
(
IDirect3D3
*
iface
)
...
...
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