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
17e12611
Commit
17e12611
authored
Mar 05, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix some prototypes.
parent
602bb1f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
drawprim.c
dlls/wined3d/drawprim.c
+8
-8
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
No files found.
dlls/wined3d/drawprim.c
View file @
17e12611
...
...
@@ -238,7 +238,7 @@ void primitiveDeclarationConvertToStridedData(
}
static
void
drawStridedFast
(
IWineD3DDevice
*
iface
,
GLenum
primitive_type
,
UINT
min_vertex_idx
,
UINT
max_vertex_idx
,
UINT
count
,
short
idx_size
,
UINT
min_vertex_idx
,
UINT
max_vertex_idx
,
UINT
count
,
UINT
idx_size
,
const
void
*
idx_data
,
UINT
start_idx
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
...
...
@@ -274,12 +274,12 @@ static void drawStridedFast(IWineD3DDevice *iface, GLenum primitive_type,
*/
static
void
drawStridedSlow
(
IWineD3DDevice
*
iface
,
const
WineDirect3DVertexStridedData
*
sd
,
UINT
NumVertexes
,
GLenum
glPrimType
,
const
void
*
idxData
,
short
idxSize
,
ULONG
minIndex
,
ULONG
startIdx
)
GLenum
glPrimType
,
const
void
*
idxData
,
UINT
idxSize
,
UINT
minIndex
,
UINT
startIdx
)
{
unsigned
int
textureNo
=
0
;
const
WORD
*
pIdxBufS
=
NULL
;
const
DWORD
*
pIdxBufL
=
NULL
;
U
LONG
vx_index
;
U
INT
vx_index
;
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
const
UINT
*
streamOffset
=
This
->
stateBlock
->
streamOffset
;
long
SkipnStrides
=
startIdx
+
This
->
stateBlock
->
loadBaseVertexIndex
;
...
...
@@ -594,13 +594,13 @@ static inline void send_attribute(IWineD3DDeviceImpl *This, const DWORD type, co
}
static
void
drawStridedSlowVs
(
IWineD3DDevice
*
iface
,
const
WineDirect3DVertexStridedData
*
sd
,
UINT
numberOfVertices
,
GLenum
glPrimitiveType
,
const
void
*
idxData
,
short
idxSize
,
ULONG
minIndex
,
ULONG
startIdx
)
GLenum
glPrimitiveType
,
const
void
*
idxData
,
UINT
idxSize
,
UINT
minIndex
,
UINT
startIdx
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
long
SkipnStrides
=
startIdx
+
This
->
stateBlock
->
loadBaseVertexIndex
;
const
WORD
*
pIdxBufS
=
NULL
;
const
DWORD
*
pIdxBufL
=
NULL
;
U
LONG
vx_index
;
U
INT
vx_index
;
int
i
;
IWineD3DStateBlockImpl
*
stateblock
=
This
->
stateBlock
;
const
BYTE
*
ptr
;
...
...
@@ -654,8 +654,8 @@ static void drawStridedSlowVs(IWineD3DDevice *iface, const WineDirect3DVertexStr
}
static
inline
void
drawStridedInstanced
(
IWineD3DDevice
*
iface
,
const
WineDirect3DVertexStridedData
*
sd
,
UINT
numberOfVertices
,
GLenum
glPrimitiveType
,
const
void
*
idxData
,
short
idxSize
,
ULONG
minIndex
,
U
LONG
startIdx
)
UINT
numberOfVertices
,
GLenum
glPrimitiveType
,
const
void
*
idxData
,
UINT
idxSize
,
UINT
minIndex
,
U
INT
startIdx
)
{
UINT
numInstances
=
0
,
i
;
int
numInstancedAttribs
=
0
,
j
;
...
...
@@ -808,7 +808,7 @@ static inline void remove_vbos(IWineD3DDeviceImpl *This, WineDirect3DVertexStrid
/* Routine common to the draw primitive and draw indexed primitive routines */
void
drawPrimitive
(
IWineD3DDevice
*
iface
,
WINED3DPRIMITIVETYPE
PrimitiveType
,
UINT
index_count
,
UINT
numberOfVertices
,
long
StartIdx
,
short
idxSize
,
const
void
*
idxData
,
int
minIndex
)
UINT
numberOfVertices
,
UINT
StartIdx
,
UINT
idxSize
,
const
void
*
idxData
,
UINT
minIndex
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
...
...
dlls/wined3d/wined3d_private.h
View file @
17e12611
...
...
@@ -654,7 +654,7 @@ extern LONG primCounter;
/* Routine common to the draw primitive and draw indexed primitive routines */
void
drawPrimitive
(
IWineD3DDevice
*
iface
,
WINED3DPRIMITIVETYPE
PrimitiveType
,
UINT
index_count
,
UINT
numberOfVertices
,
long
start_idx
,
short
idxBytes
,
const
void
*
idxData
,
int
minIndex
);
UINT
numberOfVertices
,
UINT
start_idx
,
UINT
idxBytes
,
const
void
*
idxData
,
UINT
minIndex
);
void
primitiveDeclarationConvertToStridedData
(
IWineD3DDevice
*
iface
,
...
...
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