Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
51c0f2a7
Commit
51c0f2a7
authored
Jul 26, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Only invalidate state for the current context in wined3d_surface_depth_blt_fbo().
parent
c2ede1d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
surface.c
dlls/wined3d/surface.c
+4
-4
No files found.
dlls/wined3d/surface.c
View file @
51c0f2a7
...
...
@@ -1145,21 +1145,21 @@ static void wined3d_surface_depth_blt_fbo(struct wined3d_device *device, struct
if
(
gl_mask
&
GL_DEPTH_BUFFER_BIT
)
{
glDepthMask
(
GL_TRUE
);
device_invalidate_state
(
device
,
STATE_RENDER
(
WINED3DRS_ZWRITEENABLE
));
context_invalidate_state
(
context
,
STATE_RENDER
(
WINED3DRS_ZWRITEENABLE
));
}
if
(
gl_mask
&
GL_STENCIL_BUFFER_BIT
)
{
if
(
context
->
gl_info
->
supported
[
EXT_STENCIL_TWO_SIDE
])
{
glDisable
(
GL_STENCIL_TEST_TWO_SIDE_EXT
);
device_invalidate_state
(
device
,
STATE_RENDER
(
WINED3DRS_TWOSIDEDSTENCILMODE
));
context_invalidate_state
(
context
,
STATE_RENDER
(
WINED3DRS_TWOSIDEDSTENCILMODE
));
}
glStencilMask
(
~
0U
);
device_invalidate_state
(
device
,
STATE_RENDER
(
WINED3DRS_STENCILWRITEMASK
));
context_invalidate_state
(
context
,
STATE_RENDER
(
WINED3DRS_STENCILWRITEMASK
));
}
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_mask
,
GL_NEAREST
);
...
...
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