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
b2e543b2
Commit
b2e543b2
authored
Aug 21, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add a state handler for WINED3DRS_DEBUGMONITORTOKEN.
parent
a36e30b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
state.c
dlls/wined3d/state.c
+6
-0
No files found.
dlls/wined3d/state.c
View file @
b2e543b2
...
...
@@ -1494,6 +1494,11 @@ static void state_pscale(DWORD state, IWineD3DStateBlockImpl *stateblock, struct
checkGLcall
(
"glPointSize(...);"
);
}
static
void
state_debug_monitor
(
DWORD
state
,
IWineD3DStateBlockImpl
*
stateblock
,
struct
wined3d_context
*
context
)
{
WARN
(
"token: %#x
\n
"
,
stateblock
->
renderState
[
WINED3DRS_DEBUGMONITORTOKEN
]);
}
static
void
state_colorwrite
(
DWORD
state
,
IWineD3DStateBlockImpl
*
stateblock
,
struct
wined3d_context
*
context
)
{
DWORD
Value
=
stateblock
->
renderState
[
WINED3DRS_COLORWRITEENABLE
];
...
...
@@ -4974,6 +4979,7 @@ const struct StateEntryTemplate misc_state_template[] = {
{
STATE_RENDER
(
WINED3DRS_MULTISAMPLEANTIALIAS
),
{
STATE_RENDER
(
WINED3DRS_MULTISAMPLEANTIALIAS
),
state_msaa
},
ARB_MULTISAMPLE
},
{
STATE_RENDER
(
WINED3DRS_MULTISAMPLEANTIALIAS
),
{
STATE_RENDER
(
WINED3DRS_MULTISAMPLEANTIALIAS
),
state_msaa_w
},
WINED3D_GL_EXT_NONE
},
{
STATE_RENDER
(
WINED3DRS_MULTISAMPLEMASK
),
{
STATE_RENDER
(
WINED3DRS_MULTISAMPLEMASK
),
state_multisampmask
},
WINED3D_GL_EXT_NONE
},
{
STATE_RENDER
(
WINED3DRS_DEBUGMONITORTOKEN
),
{
STATE_RENDER
(
WINED3DRS_DEBUGMONITORTOKEN
),
state_debug_monitor
},
WINED3D_GL_EXT_NONE
},
{
STATE_RENDER
(
WINED3DRS_COLORWRITEENABLE
),
{
STATE_RENDER
(
WINED3DRS_COLORWRITEENABLE
),
state_colorwrite
},
WINED3D_GL_EXT_NONE
},
{
STATE_RENDER
(
WINED3DRS_BLENDOP
),
{
STATE_RENDER
(
WINED3DRS_BLENDOP
),
state_blendop
},
EXT_BLEND_MINMAX
},
{
STATE_RENDER
(
WINED3DRS_BLENDOP
),
{
STATE_RENDER
(
WINED3DRS_BLENDOP
),
state_blendop_w
},
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