d3d10: Remove superfluous TRUE : FALSE conditional expression.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2020-04-16 00:08:29 +02:00 committed by Alexandre Julliard
parent 53e6b328f6
commit 4ffc5e66ea
1 changed files with 2 additions and 2 deletions

View File

@ -5337,7 +5337,7 @@ static void write_matrix_to_buffer(struct d3d10_effect_variable *variable, void
{
unsigned int col_count = !transpose ? variable->type->column_count : variable->type->row_count;
unsigned int row_count = !transpose ? variable->type->row_count : variable->type->column_count;
BOOL major = variable->type->type_class == D3D10_SVC_MATRIX_COLUMNS ? TRUE : FALSE;
BOOL major = variable->type->type_class == D3D10_SVC_MATRIX_COLUMNS;
float *dst = dst_void;
unsigned int row, col;
@ -5415,7 +5415,7 @@ static void read_matrix_from_buffer(struct d3d10_effect_variable *variable, void
{
unsigned int col_count = !transpose ? variable->type->column_count : variable->type->row_count;
unsigned int row_count = !transpose ? variable->type->row_count : variable->type->column_count;
BOOL major = variable->type->type_class == D3D10_SVC_MATRIX_COLUMNS ? TRUE : FALSE;
BOOL major = variable->type->type_class == D3D10_SVC_MATRIX_COLUMNS;
float *src = src_void;
unsigned int row, col;