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
1e301027
Commit
1e301027
authored
Oct 29, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Only complain about unsupported filtering if we have a reason to.
parent
e832b57a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
surface_base.c
dlls/wined3d/surface_base.c
+8
-5
No files found.
dlls/wined3d/surface_base.c
View file @
1e301027
...
...
@@ -947,11 +947,6 @@ HRESULT WINAPI IWineD3DBaseSurfaceImpl_Blt(IWineD3DSurface *iface, const RECT *D
return
WINEDDERR_SURFACEBUSY
;
}
if
(
Filter
!=
WINED3DTEXF_NONE
&&
Filter
!=
WINED3DTEXF_POINT
)
{
/* Can happen when d3d9 apps do a StretchRect call which isn't handled in gl */
FIXME
(
"Filters not supported in software blit
\n
"
);
}
/* First check for the validity of source / destination rectangles.
* This was verified using a test application + by MSDN. */
...
...
@@ -1218,6 +1213,14 @@ HRESULT WINAPI IWineD3DBaseSurfaceImpl_Blt(IWineD3DSurface *iface, const RECT *D
if
(
!
dstwidth
||
!
dstheight
)
/* hmm... stupid program ? */
goto
release
;
if
(
Filter
!=
WINED3DTEXF_NONE
&&
Filter
!=
WINED3DTEXF_POINT
&&
(
srcwidth
!=
dstwidth
||
srcheight
!=
dstheight
))
{
/* Can happen when d3d9 apps do a StretchRect call which isn't handled in gl */
FIXME
(
"Filter %s not supported in software blit.
\n
"
,
debug_d3dtexturefiltertype
(
Filter
));
}
sbase
=
(
BYTE
*
)
slock
.
pBits
+
(
xsrc
.
top
*
slock
.
Pitch
)
+
xsrc
.
left
*
bpp
;
xinc
=
(
srcwidth
<<
16
)
/
dstwidth
;
yinc
=
(
srcheight
<<
16
)
/
dstheight
;
...
...
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