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
2bf020e2
Commit
2bf020e2
authored
Jul 27, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Only invalidate state for the current context in surface_blt_fbo().
parent
afd1fe43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
surface.c
dlls/wined3d/surface.c
+6
-6
No files found.
dlls/wined3d/surface.c
View file @
2bf020e2
...
...
@@ -5105,16 +5105,16 @@ static void surface_blt_fbo(struct wined3d_device *device, const WINED3DTEXTUREF
context_set_draw_buffer
(
context
,
GL_COLOR_ATTACHMENT0
);
}
context_check_fbo_status
(
context
,
GL_DRAW_FRAMEBUFFER
);
device_invalidate_state
(
device
,
STATE_FRAMEBUFFER
);
context_invalidate_state
(
context
,
STATE_FRAMEBUFFER
);
glColorMask
(
GL_TRUE
,
GL_TRUE
,
GL_TRUE
,
GL_TRUE
);
device_invalidate_state
(
device
,
STATE_RENDER
(
WINED3DRS_COLORWRITEENABLE
));
device_invalidate_state
(
device
,
STATE_RENDER
(
WINED3DRS_COLORWRITEENABLE1
));
device_invalidate_state
(
device
,
STATE_RENDER
(
WINED3DRS_COLORWRITEENABLE2
));
device_invalidate_state
(
device
,
STATE_RENDER
(
WINED3DRS_COLORWRITEENABLE3
));
context_invalidate_state
(
context
,
STATE_RENDER
(
WINED3DRS_COLORWRITEENABLE
));
context_invalidate_state
(
context
,
STATE_RENDER
(
WINED3DRS_COLORWRITEENABLE1
));
context_invalidate_state
(
context
,
STATE_RENDER
(
WINED3DRS_COLORWRITEENABLE2
));
context_invalidate_state
(
context
,
STATE_RENDER
(
WINED3DRS_COLORWRITEENABLE3
));
glDisable
(
GL_SCISSOR_TEST
);
device_invalidate_state
(
device
,
STATE_RENDER
(
WINED3DRS_SCISSORTESTENABLE
));
context_invalidate_state
(
context
,
STATE_RENDER
(
WINED3DRS_SCISSORTESTENABLE
));
gl_info
->
fbo_ops
.
glBlitFramebuffer
(
src_rect
.
left
,
src_rect
.
top
,
src_rect
.
right
,
src_rect
.
bottom
,
dst_rect
.
left
,
dst_rect
.
top
,
dst_rect
.
right
,
dst_rect
.
bottom
,
GL_COLOR_BUFFER_BIT
,
gl_filter
);
...
...
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