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
a697d99d
Commit
a697d99d
authored
Sep 27, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Sep 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Sign-compare warnings fix.
parent
9b81945a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
ddraw.c
dlls/ddraw/ddraw.c
+1
-1
device.c
dlls/ddraw/device.c
+4
-4
direct3d.c
dlls/ddraw/direct3d.c
+1
-1
utils.c
dlls/ddraw/utils.c
+1
-1
No files found.
dlls/ddraw/ddraw.c
View file @
a697d99d
...
...
@@ -1842,7 +1842,7 @@ D3D7CB_CreateSurface(IUnknown *device,
{
ICOM_THIS_FROM
(
IDirectDrawImpl
,
IDirectDraw7
,
device
);
IDirectDrawSurfaceImpl
*
surf
=
NULL
;
int
i
=
0
;
UINT
i
=
0
;
DDSCAPS2
searchcaps
=
This
->
tex_root
->
surface_desc
.
ddsCaps
;
TRACE
(
"(%p) call back. surf=%p. Face %d level %d
\n
"
,
device
,
This
->
tex_root
,
Face
,
level
);
...
...
dlls/ddraw/device.c
View file @
a697d99d
...
...
@@ -1165,7 +1165,7 @@ IDirect3DDeviceImpl_7_EnumTextureFormats(IDirect3DDevice7 *iface,
ICOM_THIS_FROM
(
IDirect3DDeviceImpl
,
IDirect3DDevice7
,
iface
);
HRESULT
hr
;
WINED3DDISPLAYMODE
mode
;
int
i
;
unsigned
int
i
;
WINED3DFORMAT
FormatList
[]
=
{
/* 32 bit */
...
...
@@ -1328,7 +1328,7 @@ IDirect3DDeviceImpl_2_EnumTextureFormats(IDirect3DDevice2 *iface,
{
ICOM_THIS_FROM
(
IDirect3DDeviceImpl
,
IDirect3DDevice2
,
iface
);
HRESULT
hr
;
int
i
;
unsigned
int
i
;
WINED3DDISPLAYMODE
mode
;
WINED3DFORMAT
FormatList
[]
=
{
...
...
@@ -3982,7 +3982,7 @@ IDirect3DDeviceImpl_7_DrawPrimitiveStrided(IDirect3DDevice7 *iface,
{
ICOM_THIS_FROM
(
IDirect3DDeviceImpl
,
IDirect3DDevice7
,
iface
);
WineDirect3DVertexStridedData
WineD3DStrided
;
int
i
;
DWORD
i
;
UINT
PrimitiveCount
;
HRESULT
hr
;
...
...
@@ -4160,7 +4160,7 @@ IDirect3DDeviceImpl_7_DrawIndexedPrimitiveStrided(IDirect3DDevice7 *iface,
{
ICOM_THIS_FROM
(
IDirect3DDeviceImpl
,
IDirect3DDevice7
,
iface
);
WineDirect3DVertexStridedData
WineD3DStrided
;
int
i
;
DWORD
i
;
UINT
PrimitiveCount
;
HRESULT
hr
;
...
...
dlls/ddraw/direct3d.c
View file @
a697d99d
...
...
@@ -1138,7 +1138,7 @@ IDirect3DImpl_7_EnumZBufferFormats(IDirect3D7 *iface,
{
ICOM_THIS_FROM
(
IDirectDrawImpl
,
IDirect3D7
,
iface
);
HRESULT
hr
;
int
i
;
unsigned
int
i
;
WINED3DDISPLAYMODE
d3ddm
;
WINED3DDEVTYPE
type
;
...
...
dlls/ddraw/utils.c
View file @
a697d99d
...
...
@@ -902,7 +902,7 @@ DWORD
get_flexible_vertex_size
(
DWORD
d3dvtVertexType
)
{
DWORD
size
=
0
;
int
i
;
DWORD
i
;
if
(
d3dvtVertexType
&
D3DFVF_NORMAL
)
size
+=
3
*
sizeof
(
D3DVALUE
);
if
(
d3dvtVertexType
&
D3DFVF_DIFFUSE
)
size
+=
sizeof
(
DWORD
);
...
...
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