mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
d3drm/tests: Use BOOL type where appropriate.
This commit is contained in:
parent
84fb23f476
commit
464110b1cb
@ -28,14 +28,15 @@
|
|||||||
|
|
||||||
#define expect_mat( expectedmat, gotmat)\
|
#define expect_mat( expectedmat, gotmat)\
|
||||||
{ \
|
{ \
|
||||||
int i,j,equal=1; \
|
int i,j; \
|
||||||
|
BOOL equal = TRUE; \
|
||||||
for (i=0; i<4; i++)\
|
for (i=0; i<4; i++)\
|
||||||
{\
|
{\
|
||||||
for (j=0; j<4; j++)\
|
for (j=0; j<4; j++)\
|
||||||
{\
|
{\
|
||||||
if (fabs(expectedmat[i][j]-gotmat[i][j])>admit_error)\
|
if (fabs(expectedmat[i][j]-gotmat[i][j])>admit_error)\
|
||||||
{\
|
{\
|
||||||
equal=0;\
|
equal = FALSE;\
|
||||||
}\
|
}\
|
||||||
}\
|
}\
|
||||||
}\
|
}\
|
||||||
|
Loading…
Reference in New Issue
Block a user