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
8a833a2d
Commit
8a833a2d
authored
Dec 07, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Pass the correct vertex count in DrawIndexedPrimitiveStrided().
This fixes a regression introduced by
2b2fc827
.
parent
3b93ff71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
device.c
dlls/wined3d/device.c
+1
-1
No files found.
dlls/wined3d/device.c
View file @
8a833a2d
...
@@ -4997,7 +4997,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_DrawIndexedPrimitiveStrided(IWineD3DDev
...
@@ -4997,7 +4997,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_DrawIndexedPrimitiveStrided(IWineD3DDev
This
->
stateBlock
->
streamIsUP
=
TRUE
;
This
->
stateBlock
->
streamIsUP
=
TRUE
;
This
->
stateBlock
->
baseVertexIndex
=
0
;
This
->
stateBlock
->
baseVertexIndex
=
0
;
This
->
up_strided
=
DrawPrimStrideData
;
This
->
up_strided
=
DrawPrimStrideData
;
drawPrimitive
(
iface
,
0
/* numindices */
,
0
/* start_idx */
,
idxSize
,
pIndexData
);
drawPrimitive
(
iface
,
vertex_count
,
0
/* start_idx */
,
idxSize
,
pIndexData
);
This
->
up_strided
=
NULL
;
This
->
up_strided
=
NULL
;
return
WINED3D_OK
;
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