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
d8c40f76
Commit
d8c40f76
authored
Oct 07, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Print an error when drawStridedSlow() is called with 0 idxSize and…
wined3d: Print an error when drawStridedSlow() is called with 0 idxSize and non-NULL idxData (CID 509).
parent
d19bb783
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
drawprim.c
dlls/wined3d/drawprim.c
+3
-0
No files found.
dlls/wined3d/drawprim.c
View file @
d8c40f76
...
@@ -318,6 +318,9 @@ static void drawStridedSlow(IWineD3DDevice *iface, WineDirect3DVertexStridedData
...
@@ -318,6 +318,9 @@ static void drawStridedSlow(IWineD3DDevice *iface, WineDirect3DVertexStridedData
if
(
idxSize
==
2
)
pIdxBufS
=
(
const
WORD
*
)
idxData
;
if
(
idxSize
==
2
)
pIdxBufS
=
(
const
WORD
*
)
idxData
;
else
pIdxBufL
=
(
const
DWORD
*
)
idxData
;
else
pIdxBufL
=
(
const
DWORD
*
)
idxData
;
}
else
if
(
idxData
)
{
ERR
(
"non-NULL idxData with 0 idxSize, this should never happen
\n
"
);
return
;
}
}
/* Adding the stream offset once is cheaper than doing it every iteration. Do not modify the strided data, it is a pointer
/* Adding the stream offset once is cheaper than doing it every iteration. Do not modify the strided data, it is a pointer
...
...
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