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
83c0b13c
Commit
83c0b13c
authored
Dec 16, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Split up the render target -> render target blit.
parent
df77e288
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
surface.c
dlls/wined3d/surface.c
+17
-3
No files found.
dlls/wined3d/surface.c
View file @
83c0b13c
...
@@ -2967,9 +2967,23 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
...
@@ -2967,9 +2967,23 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
TRACE
(
"Unsupported blit between buffers on the same swapchain
\n
"
);
TRACE
(
"Unsupported blit between buffers on the same swapchain
\n
"
);
return
WINED3DERR_INVALIDCALL
;
return
WINED3DERR_INVALIDCALL
;
}
else
if
((
dstSwapchain
||
This
==
(
IWineD3DSurfaceImpl
*
)
myDevice
->
render_targets
[
0
])
&&
}
else
if
(
dstSwapchain
&&
dstSwapchain
==
srcSwapchain
)
{
(
srcSwapchain
||
SrcSurface
==
myDevice
->
render_targets
[
0
])
)
{
FIXME
(
"Implement hardware blit between two surfaces on the same swapchain
\n
"
);
ERR
(
"Can't perform hardware blit between 2 different swapchains, falling back to software
\n
"
);
return
WINED3DERR_INVALIDCALL
;
}
else
if
(
dstSwapchain
&&
srcSwapchain
)
{
FIXME
(
"Implement hardware blit between two different swapchains
\n
"
);
return
WINED3DERR_INVALIDCALL
;
}
else
if
(
dstSwapchain
)
{
if
(
SrcSurface
!=
myDevice
->
render_targets
[
0
])
{
ERR
(
"Unexpected render target -> render target blit
\n
"
);
}
FIXME
(
"Implement blit from active render target to a swapchain
\n
"
);
return
WINED3DERR_INVALIDCALL
;
}
else
if
(
srcSwapchain
)
{
if
(
This
!=
(
IWineD3DSurfaceImpl
*
)
myDevice
->
render_targets
[
0
])
{
ERR
(
"Unexpected render target -> render target blit
\n
"
);
}
FIXME
(
"Implement blit from a swapchain to the active render target
\n
"
);
return
WINED3DERR_INVALIDCALL
;
return
WINED3DERR_INVALIDCALL
;
}
}
...
...
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