Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d6010ede
Commit
d6010ede
authored
Dec 25, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Dec 26, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Copy the depth buffer after all dirty states are applied.
parent
d6245409
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
drawprim.c
dlls/wined3d/drawprim.c
+9
-9
No files found.
dlls/wined3d/drawprim.c
View file @
d6010ede
...
...
@@ -1949,15 +1949,6 @@ void drawPrimitive(IWineD3DDevice *iface,
BOOL
lighting_changed
,
lighting_original
=
FALSE
;
if
(
TRACE_ON
(
d3d_draw
)
&&
wined3d_settings
.
offscreen_rendering_mode
==
ORM_FBO
)
{
check_fbo_status
(
iface
);
}
if
(
This
->
depth_copy_state
==
WINED3D_DCS_COPY
)
{
depth_copy
(
iface
);
}
This
->
depth_copy_state
=
WINED3D_DCS_INITIAL
;
/* Shaders can be implemented using ARB_PROGRAM, GLSL, or software -
* here simply check whether a shader was set, or the user disabled shaders */
if
(
This
->
vs_selected_mode
!=
SHADER_NONE
&&
This
->
stateBlock
->
vertexShader
&&
...
...
@@ -1990,6 +1981,15 @@ void drawPrimitive(IWineD3DDevice *iface,
}
This
->
numDirtyEntries
=
0
;
/* This makes the whole list clean */
if
(
TRACE_ON
(
d3d_draw
)
&&
wined3d_settings
.
offscreen_rendering_mode
==
ORM_FBO
)
{
check_fbo_status
(
iface
);
}
if
(
This
->
depth_copy_state
==
WINED3D_DCS_COPY
)
{
depth_copy
(
iface
);
}
This
->
depth_copy_state
=
WINED3D_DCS_INITIAL
;
if
(
DrawPrimStrideData
)
{
/* Note: this is a ddraw fixed-function code path */
...
...
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