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
ab8a9f27
Commit
ab8a9f27
authored
Mar 08, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Surfaces always have resource type WINED3DRTYPE_SURFACE.
parent
ac9c592c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
device.c
dlls/d3d9/device.c
+1
-2
No files found.
dlls/d3d9/device.c
View file @
ab8a9f27
...
...
@@ -1081,8 +1081,7 @@ static HRESULT WINAPI IDirect3DDevice9Impl_ColorFill(IDirect3DDevice9Ex *iface,
/* This method is only allowed with surfaces that are render targets, or
* offscreen plain surfaces in D3DPOOL_DEFAULT. */
if
(
!
(
desc
.
usage
&
WINED3DUSAGE_RENDERTARGET
)
&&
(
desc
.
pool
!=
WINED3DPOOL_DEFAULT
||
desc
.
resource_type
!=
WINED3DRTYPE_SURFACE
))
if
(
!
(
desc
.
usage
&
WINED3DUSAGE_RENDERTARGET
)
&&
desc
.
pool
!=
WINED3DPOOL_DEFAULT
)
{
wined3d_mutex_unlock
();
WARN
(
"Surface is not a render target, or not a stand-alone D3DPOOL_DEFAULT surface
\n
"
);
...
...
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