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
2e088045
Commit
2e088045
authored
Mar 19, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Mar 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Don't apply state in ddraw_surface_blt().
parent
4e81f661
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
surface.c
dlls/ddraw/surface.c
+0
-3
No files found.
dlls/ddraw/surface.c
View file @
2e088045
...
...
@@ -1563,7 +1563,6 @@ static HRESULT ddraw_surface_blt(struct ddraw_surface *dst_surface, const RECT *
const
struct
wined3d_blt_fx
*
fx
,
enum
wined3d_texture_filter_type
filter
)
{
struct
ddraw
*
ddraw
=
dst_surface
->
ddraw
;
struct
wined3d_device
*
wined3d_device
=
ddraw
->
wined3d_device
;
struct
wined3d_color
colour
;
DWORD
wined3d_flags
;
HRESULT
hr
;
...
...
@@ -1578,7 +1577,6 @@ static HRESULT ddraw_surface_blt(struct ddraw_surface *dst_surface, const RECT *
dst_surface
->
palette
,
fill_colour
,
&
colour
))
return
DDERR_INVALIDPARAMS
;
wined3d_device_apply_stateblock
(
wined3d_device
,
ddraw
->
state
);
ddraw_surface_get_draw_texture
(
dst_surface
,
dst_rect
?
DDRAW_SURFACE_RW
:
DDRAW_SURFACE_WRITE
);
hr
=
wined3d_device_context_clear_rendertarget_view
(
ddraw
->
immediate_context
,
ddraw_surface_get_rendertarget_view
(
dst_surface
),
...
...
@@ -1597,7 +1595,6 @@ static HRESULT ddraw_surface_blt(struct ddraw_surface *dst_surface, const RECT *
dst_surface
->
palette
,
fill_colour
,
&
colour
))
return
DDERR_INVALIDPARAMS
;
wined3d_device_apply_stateblock
(
wined3d_device
,
ddraw
->
state
);
ddraw_surface_get_draw_texture
(
dst_surface
,
dst_rect
?
DDRAW_SURFACE_RW
:
DDRAW_SURFACE_WRITE
);
return
wined3d_device_context_clear_rendertarget_view
(
ddraw
->
immediate_context
,
ddraw_surface_get_rendertarget_view
(
dst_surface
),
...
...
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