diff options
Diffstat (limited to 'engines/sci/gfx/gfx_crossblit.cpp')
-rw-r--r-- | engines/sci/gfx/gfx_crossblit.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/engines/sci/gfx/gfx_crossblit.cpp b/engines/sci/gfx/gfx_crossblit.cpp index 03ddb7642d..b5dd39278a 100644 --- a/engines/sci/gfx/gfx_crossblit.cpp +++ b/engines/sci/gfx/gfx_crossblit.cpp @@ -52,13 +52,12 @@ #endif static void FUNCTION_NAME(byte *dest, byte *src, int bytes_per_dest_line, int bytes_per_src_line, - int xl, int yl, byte *alpha, int bytes_per_alpha_line, int bytes_per_alpha_pixel, - unsigned int alpha_test_mask, unsigned int alpha_min + int xl, int yl, byte *alpha, int bytes_per_alpha_line, int bytes_per_alpha_pixel, + unsigned int alpha_test_mask, unsigned int alpha_min #ifdef USE_PRIORITY - , byte *priority_buffer, int bytes_per_priority_line, int bytes_per_priority_pixel, int priority + , byte *priority_buffer, int bytes_per_priority_line, int bytes_per_priority_pixel, int priority #endif /* USE_PRIORITY */ - ) -{ + ) { int x, y; int alpha_end = xl * bytes_per_alpha_pixel; @@ -72,11 +71,11 @@ static void FUNCTION_NAME(byte *dest, byte *src, int bytes_per_dest_line, int by for (x = 0; x < alpha_end; x += bytes_per_alpha_pixel) { if ((alpha_test_mask & alpha[x]) #ifdef REVERSE_ALPHA - >= + >= #else - < + < #endif - alpha_min) + alpha_min) #ifdef USE_PRIORITY if (priority_buffer[priority_offset] <= priority) { priority_buffer[priority_offset] = priority; |