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
1e31182c
Commit
1e31182c
authored
Jan 09, 2013
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Avoid signed-unsigned integer comparisons.
parent
7254a0ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
executebuffer.c
dlls/ddraw/executebuffer.c
+8
-8
No files found.
dlls/ddraw/executebuffer.c
View file @
1e31182c
...
...
@@ -92,7 +92,7 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
}
break
;
case
D3DOP_TRIANGLE
:
{
int
i
;
DWORD
i
;
D3DTLVERTEX
*
tl_vx
=
buffer
->
vertex_data
;
TRACE
(
"TRIANGLE (%d)
\n
"
,
count
);
...
...
@@ -143,7 +143,7 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
break
;
case
D3DOP_MATRIXMULTIPLY
:
{
int
i
;
DWORD
i
;
TRACE
(
"MATRIXMULTIPLY (%d)
\n
"
,
count
);
for
(
i
=
0
;
i
<
count
;
++
i
)
...
...
@@ -171,7 +171,7 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
}
break
;
case
D3DOP_STATETRANSFORM
:
{
int
i
;
DWORD
i
;
TRACE
(
"STATETRANSFORM (%d)
\n
"
,
count
);
for
(
i
=
0
;
i
<
count
;
++
i
)
...
...
@@ -201,7 +201,7 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
}
break
;
case
D3DOP_STATELIGHT
:
{
int
i
;
DWORD
i
;
TRACE
(
"STATELIGHT (%d)
\n
"
,
count
);
for
(
i
=
0
;
i
<
count
;
i
++
)
{
...
...
@@ -267,7 +267,7 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
}
break
;
case
D3DOP_STATERENDER
:
{
int
i
;
DWORD
i
;
IDirect3DDevice2
*
d3d_device2
=
&
device
->
IDirect3DDevice2_iface
;
TRACE
(
"STATERENDER (%d)
\n
"
,
count
);
...
...
@@ -285,7 +285,7 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
/* TODO: Share code with IDirect3DVertexBuffer::ProcessVertices and / or
* IWineD3DDevice::ProcessVertices
*/
int
i
;
DWORD
i
;
D3DMATRIX
view_mat
,
world_mat
,
proj_mat
;
TRACE
(
"PROCESSVERTICES (%d)
\n
"
,
count
);
...
...
@@ -466,7 +466,7 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
}
break
;
case
D3DOP_BRANCHFORWARD
:
{
int
i
;
DWORD
i
;
TRACE
(
"BRANCHFORWARD (%d)
\n
"
,
count
);
for
(
i
=
0
;
i
<
count
;
i
++
)
{
...
...
@@ -503,7 +503,7 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
}
break
;
case
D3DOP_SETSTATUS
:
{
int
i
;
DWORD
i
;
TRACE
(
"SETSTATUS (%d)
\n
"
,
count
);
for
(
i
=
0
;
i
<
count
;
i
++
)
{
...
...
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