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
2c82c707
Commit
2c82c707
authored
Sep 29, 2006
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Tweak a buffer declaration to fix the compilation with Visual C++.
parent
9197f5c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
stateblock.c
dlls/d3d9/tests/stateblock.c
+5
-8
No files found.
dlls/d3d9/tests/stateblock.c
View file @
2c82c707
...
...
@@ -1303,18 +1303,15 @@ static void test_state_management(
1 for transforms
1 for render states
*/
const
int
max_tests
=
2
+
1
+
1
+
1
;
const
int
max_buffer
=
SHADER_CONSTANTS_REQ_BUFFER
*
2
+
LIGHTS_REQ_BUFFER
+
TRANSFORMS_REQ_BUFFER
+
RENDER_STATES_REQ_BUFFER
;
state_test
tests
[
2
+
1
+
1
+
1
]
;
BYTE
buffer
[
SHADER_CONSTANTS_REQ_BUFFER
*
2
+
LIGHTS_REQ_BUFFER
+
TRANSFORMS_REQ_BUFFER
+
RENDER_STATES_REQ_BUFFER
]
;
unsigned
int
tcount
=
0
;
unsigned
int
bcount
=
0
;
state_test
tests
[
max_tests
];
BYTE
buffer
[
max_buffer
];
hret
=
IDirect3DDevice9_GetDeviceCaps
(
device
,
&
caps
);
ok
(
hret
==
D3D_OK
,
"GetDeviceCaps returned %#lx.
\n
"
,
hret
);
if
(
hret
!=
D3D_OK
)
return
;
...
...
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