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
d37c6fc0
Commit
d37c6fc0
authored
Sep 03, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Depth stencil tracking depends on the value of This->render_offscreen.
parent
4b6887b8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
drawprim.c
dlls/wined3d/drawprim.c
+7
-6
No files found.
dlls/wined3d/drawprim.c
View file @
d37c6fc0
...
...
@@ -928,20 +928,21 @@ void drawPrimitive(IWineD3DDevice *iface,
}
}
/* Signals other modules that a drawing is in progress and the stateblock finalized */
This
->
isInDraw
=
TRUE
;
ActivateContext
(
This
,
This
->
render_targets
[
0
],
CTXUSAGE_DRAWPRIM
);
if
(
This
->
stencilBufferTarget
)
{
/* Note that this depends on the ActivateContext call above to set
* This->render_offscreen properly */
DWORD
location
=
This
->
render_offscreen
?
SFLAG_DS_OFFSCREEN
:
SFLAG_DS_ONSCREEN
;
surface_load_ds_location
(
This
->
stencilBufferTarget
,
location
);
surface_modify_ds_location
(
This
->
stencilBufferTarget
,
location
);
}
/* Signals other modules that a drawing is in progress and the stateblock finalized */
This
->
isInDraw
=
TRUE
;
/* Ok, we will be updating the screen from here onwards so grab the lock */
ActivateContext
(
This
,
This
->
render_targets
[
0
],
CTXUSAGE_DRAWPRIM
);
ENTER_GL
();
{
GLenum
glPrimType
;
BOOL
emulation
=
FALSE
;
...
...
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