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
03eb6a4a
Commit
03eb6a4a
authored
Jul 31, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Apply draw state after depth / stencil setup in drawPrimitive().
parent
d60b5376
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
drawprim.c
dlls/wined3d/drawprim.c
+7
-7
No files found.
dlls/wined3d/drawprim.c
View file @
03eb6a4a
...
...
@@ -608,13 +608,6 @@ void drawPrimitive(struct wined3d_device *device, UINT index_count, UINT StartId
return
;
}
if
(
!
context_apply_draw_state
(
context
,
device
))
{
context_release
(
context
);
WARN
(
"Unable to apply draw state, skipping draw.
\n
"
);
return
;
}
if
(
device
->
fb
.
depth_stencil
)
{
/* Note that this depends on the context_acquire() call above to set
...
...
@@ -650,6 +643,13 @@ void drawPrimitive(struct wined3d_device *device, UINT index_count, UINT StartId
}
}
if
(
!
context_apply_draw_state
(
context
,
device
))
{
context_release
(
context
);
WARN
(
"Unable to apply draw state, skipping draw.
\n
"
);
return
;
}
if
((
!
context
->
gl_info
->
supported
[
WINED3D_GL_VERSION_2_0
]
||
(
!
glPointParameteri
&&
!
context
->
gl_info
->
supported
[
NV_POINT_SPRITE
]))
&&
context
->
render_offscreen
...
...
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