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
1eba5fd9
Commit
1eba5fd9
authored
Sep 13, 2023
by
Matteo Bruni
Committed by
Alexandre Julliard
Oct 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Allow FFP blits to non-render targets with the 'none' shader backend.
In the same vein as
6247bee4
; avoids infinite recursion in the blitter. Triggered by the ddraw tests.
parent
87937d61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
texture.c
dlls/wined3d/texture.c
+11
-2
No files found.
dlls/wined3d/texture.c
View file @
1eba5fd9
...
@@ -5832,8 +5832,17 @@ static bool ffp_blit_supported(enum wined3d_blit_op blit_op, const struct wined3
...
@@ -5832,8 +5832,17 @@ static bool ffp_blit_supported(enum wined3d_blit_op blit_op, const struct wined3
if
(
!
(
dst_resource
->
bind_flags
&
WINED3D_BIND_RENDER_TARGET
))
if
(
!
(
dst_resource
->
bind_flags
&
WINED3D_BIND_RENDER_TARGET
))
{
{
TRACE
(
"Can only blit to render targets.
\n
"
);
if
(
dst_format
->
id
==
src_format
->
id
&&
dst_location
==
WINED3D_LOCATION_DRAWABLE
)
return
false
;
{
if
(
context
->
device
->
shader_backend
==
&
none_shader_backend
)
WARN
(
"Claiming !render_target support because of no shader backend.
\n
"
);
return
true
;
}
else
{
TRACE
(
"Can only blit to render targets.
\n
"
);
return
false
;
}
}
}
return
true
;
return
true
;
...
...
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