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
38082f29
Commit
38082f29
authored
Apr 09, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Apr 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Display the stream offset in GetStreamSource/SetStreamSource traces.
parent
6fd82020
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
device.c
dlls/wined3d/device.c
+5
-3
No files found.
dlls/wined3d/device.c
View file @
38082f29
...
...
@@ -2009,7 +2009,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetStreamSource(IWineD3DDevice *iface,
}
oldSrc
=
This
->
stateBlock
->
streamSource
[
StreamNumber
];
TRACE
(
"(%p) : StreamNo: %
d, OldStream (%p), NewStream (%p), NewStride %d
\n
"
,
This
,
StreamNumber
,
oldSrc
,
pStreamData
,
Stride
);
TRACE
(
"(%p) : StreamNo: %
u, OldStream (%p), NewStream (%p), OffsetInBytes %u, NewStride %u
\n
"
,
This
,
StreamNumber
,
oldSrc
,
pStreamData
,
OffsetInBytes
,
Stride
);
This
->
updateStateBlock
->
changed
.
streamSource
[
StreamNumber
]
=
TRUE
;
This
->
updateStateBlock
->
set
.
streamSource
[
StreamNumber
]
=
TRUE
;
...
...
@@ -2053,8 +2053,10 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetStreamSource(IWineD3DDevice *iface,
static
HRESULT
WINAPI
IWineD3DDeviceImpl_GetStreamSource
(
IWineD3DDevice
*
iface
,
UINT
StreamNumber
,
IWineD3DVertexBuffer
**
pStream
,
UINT
*
pOffset
,
UINT
*
pStride
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
TRACE
(
"(%p) : StreamNo: %d, Stream (%p), Stride %d
\n
"
,
This
,
StreamNumber
,
This
->
stateBlock
->
streamSource
[
StreamNumber
],
This
->
stateBlock
->
streamStride
[
StreamNumber
]);
TRACE
(
"(%p) : StreamNo: %u, Stream (%p), Offset %u, Stride %u
\n
"
,
This
,
StreamNumber
,
This
->
stateBlock
->
streamSource
[
StreamNumber
],
This
->
stateBlock
->
streamOffset
[
StreamNumber
],
This
->
stateBlock
->
streamStride
[
StreamNumber
]);
if
(
StreamNumber
>=
MAX_STREAMS
)
{
WARN
(
"Stream out of range %d
\n
"
,
StreamNumber
);
...
...
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