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
3e37b27d
Commit
3e37b27d
authored
Jul 26, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Cleanup Get/SetRenderState traces a bit.
parent
6874743e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
device.c
dlls/wined3d/device.c
+4
-2
No files found.
dlls/wined3d/device.c
View file @
3e37b27d
...
...
@@ -3018,7 +3018,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
DWORD
oldValue
=
This
->
stateBlock
->
renderState
[
State
];
TRACE
(
"
(%p)->state = %s(%d), value = %d
\n
"
,
This
,
debug_d3drenderstate
(
State
),
State
,
Value
);
TRACE
(
"
iface %p, state %s (%#x), value %#x.
\n
"
,
iface
,
debug_d3drenderstate
(
State
),
State
,
Value
);
This
->
updateStateBlock
->
changed
.
renderState
[
State
>>
5
]
|=
1
<<
(
State
&
0x1f
);
This
->
updateStateBlock
->
renderState
[
State
]
=
Value
;
...
...
@@ -3041,7 +3041,9 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
static
HRESULT
WINAPI
IWineD3DDeviceImpl_GetRenderState
(
IWineD3DDevice
*
iface
,
WINED3DRENDERSTATETYPE
State
,
DWORD
*
pValue
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
TRACE
(
"(%p) for State %d = %d
\n
"
,
This
,
State
,
This
->
stateBlock
->
renderState
[
State
]);
TRACE
(
"iface %p, state %s (%#x), value %p.
\n
"
,
iface
,
debug_d3drenderstate
(
State
),
State
,
pValue
);
*
pValue
=
This
->
stateBlock
->
renderState
[
State
];
return
WINED3D_OK
;
}
...
...
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