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
e62771f7
Commit
e62771f7
authored
Apr 01, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add a state handler for WINED3DRS_ZVISIBLE.
parent
ef34b0ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
state.c
dlls/wined3d/state.c
+7
-0
No files found.
dlls/wined3d/state.c
View file @
e62771f7
...
...
@@ -1730,6 +1730,12 @@ static void state_depthbias(DWORD state, IWineD3DStateBlockImpl *stateblock, str
}
}
static
void
state_zvisible
(
DWORD
state
,
IWineD3DStateBlockImpl
*
stateblock
,
struct
wined3d_context
*
context
)
{
if
(
stateblock
->
renderState
[
WINED3DRS_ZVISIBLE
])
FIXME
(
"WINED3DRS_ZVISIBLE not implemented.
\n
"
);
}
static
void
state_perspective
(
DWORD
state
,
IWineD3DStateBlockImpl
*
stateblock
,
struct
wined3d_context
*
context
)
{
if
(
stateblock
->
renderState
[
WINED3DRS_TEXTUREPERSPECTIVE
])
{
...
...
@@ -5016,6 +5022,7 @@ const struct StateEntryTemplate misc_state_template[] = {
{
STATE_RENDER
(
WINED3DRS_BLENDFACTOR
),
{
STATE_RENDER
(
WINED3DRS_BLENDFACTOR
),
state_blendfactor
},
EXT_BLEND_COLOR
},
{
STATE_RENDER
(
WINED3DRS_BLENDFACTOR
),
{
STATE_RENDER
(
WINED3DRS_BLENDFACTOR
),
state_blendfactor_w
},
WINED3D_GL_EXT_NONE
},
{
STATE_RENDER
(
WINED3DRS_DEPTHBIAS
),
{
STATE_RENDER
(
WINED3DRS_DEPTHBIAS
),
state_depthbias
},
WINED3D_GL_EXT_NONE
},
{
STATE_RENDER
(
WINED3DRS_ZVISIBLE
),
{
STATE_RENDER
(
WINED3DRS_ZVISIBLE
),
state_zvisible
},
WINED3D_GL_EXT_NONE
},
/* Samplers */
{
STATE_SAMPLER
(
0
),
{
STATE_SAMPLER
(
0
),
sampler
},
WINED3D_GL_EXT_NONE
},
{
STATE_SAMPLER
(
1
),
{
STATE_SAMPLER
(
1
),
sampler
},
WINED3D_GL_EXT_NONE
},
...
...
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