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
e25edbfc
Commit
e25edbfc
authored
Dec 10, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Make WINED3DRS_DEBUGMONITORTOKEN a nogl state.
parent
8197470d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
15 deletions
+2
-15
device.c
dlls/wined3d/device.c
+1
-14
state.c
dlls/wined3d/state.c
+1
-1
No files found.
dlls/wined3d/device.c
View file @
e25edbfc
...
...
@@ -3427,6 +3427,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
case
WINED3DRS_MULTISAMPLEMASK
:
case
WINED3DRS_PATCHEDGESTYLE
:
case
WINED3DRS_PATCHSEGMENTS
:
case
WINED3DRS_DEBUGMONITORTOKEN
:
StateTable
[
STATE_RENDER
(
State
)].
apply
(
STATE_RENDER
(
State
),
This
->
stateBlock
);
break
;
...
...
@@ -3437,20 +3438,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
return
WINED3DERR_INVALIDCALL
;
}
case
WINED3DRS_DEBUGMONITORTOKEN
:
{
/* Only useful for "debug builds". */
if
(
0xbaadcafe
!=
Value
)
{
/* MSDN says the default is D3DDMT_ENABLE but our tests confirm 0xbaadcafe is the default. */
/* MSDN says anything other than D3DDMT_ENABLE or DISABLE does not change the state,
* but our tests disagree.
* We do not claim to implement a debugging lib, so do not write an ERR
*/
WARN
(
"(%p)->(%s,%d) not yet implemented
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
}
break
;
}
case
WINED3DRS_POSITIONDEGREE
:
{
if
(
WINED3DDEGREE_CUBIC
!=
Value
)
...
...
dlls/wined3d/state.c
View file @
e25edbfc
...
...
@@ -1360,7 +1360,7 @@ const struct StateEntry StateTable[] =
{
/*162, WINED3DRS_MULTISAMPLEMASK */
STATE_RENDER
(
WINED3DRS_MULTISAMPLEMASK
),
state_multisampmask
},
{
/*163, WINED3DRS_PATCHEDGESTYLE */
STATE_RENDER
(
WINED3DRS_PATCHEDGESTYLE
),
state_patchededge
},
{
/*164, WINED3DRS_PATCHSEGMENTS */
STATE_RENDER
(
WINED3DRS_PATCHSEGMENTS
),
state_patchsegments
},
{
/*165, WINED3DRS_DEBUGMONITORTOKEN */
STATE_RENDER
(
WINED3DRS_DEBUGMONITORTOKEN
),
state_
unknown
},
{
/*165, WINED3DRS_DEBUGMONITORTOKEN */
STATE_RENDER
(
WINED3DRS_DEBUGMONITORTOKEN
),
state_
nogl
},
{
/*166, WINED3DRS_POINTSIZE_MAX */
STATE_RENDER
(
WINED3DRS_POINTSIZE_MAX
),
state_psizemax
},
{
/*167, WINED3DRS_INDEXEDVERTEXBLENDENABLE */
0
,
state_nogl
},
{
/*168, WINED3DRS_COLORWRITEENABLE */
STATE_RENDER
(
WINED3DRS_COLORWRITEENABLE
),
state_colorwrite
},
...
...
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