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
4a93eb84
Commit
4a93eb84
authored
Feb 19, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Feb 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove stream flags from GetStreamSource.
parent
ef68e32b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
device.c
dlls/wined3d/device.c
+0
-14
No files found.
dlls/wined3d/device.c
View file @
4a93eb84
...
@@ -2025,24 +2025,10 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetStreamSource(IWineD3DDevice *iface,
...
@@ -2025,24 +2025,10 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetStreamSource(IWineD3DDevice *iface,
static
HRESULT
WINAPI
IWineD3DDeviceImpl_GetStreamSource
(
IWineD3DDevice
*
iface
,
UINT
StreamNumber
,
IWineD3DVertexBuffer
**
pStream
,
UINT
*
pOffset
,
UINT
*
pStride
)
{
static
HRESULT
WINAPI
IWineD3DDeviceImpl_GetStreamSource
(
IWineD3DDevice
*
iface
,
UINT
StreamNumber
,
IWineD3DVertexBuffer
**
pStream
,
UINT
*
pOffset
,
UINT
*
pStride
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
UINT
streamFlags
;
TRACE
(
"(%p) : StreamNo: %d, Stream (%p), Stride %d
\n
"
,
This
,
StreamNumber
,
TRACE
(
"(%p) : StreamNo: %d, Stream (%p), Stride %d
\n
"
,
This
,
StreamNumber
,
This
->
stateBlock
->
streamSource
[
StreamNumber
],
This
->
stateBlock
->
streamStride
[
StreamNumber
]);
This
->
stateBlock
->
streamSource
[
StreamNumber
],
This
->
stateBlock
->
streamStride
[
StreamNumber
]);
streamFlags
=
StreamNumber
&
(
WINED3DSTREAMSOURCE_INDEXEDDATA
|
WINED3DSTREAMSOURCE_INSTANCEDATA
);
if
(
streamFlags
)
{
if
(
streamFlags
&
WINED3DSTREAMSOURCE_INDEXEDDATA
)
{
FIXME
(
"stream index data not supported
\n
"
);
}
if
(
streamFlags
&
WINED3DSTREAMSOURCE_INDEXEDDATA
)
{
FIXME
(
"stream instance data not supported
\n
"
);
}
}
StreamNumber
&=
~
(
WINED3DSTREAMSOURCE_INDEXEDDATA
|
WINED3DSTREAMSOURCE_INSTANCEDATA
);
if
(
StreamNumber
>=
MAX_STREAMS
)
{
if
(
StreamNumber
>=
MAX_STREAMS
)
{
WARN
(
"Stream out of range %d
\n
"
,
StreamNumber
);
WARN
(
"Stream out of range %d
\n
"
,
StreamNumber
);
return
WINED3DERR_INVALIDCALL
;
return
WINED3DERR_INVALIDCALL
;
...
...
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