accelerants: Add default case for xy_command initialization.

Silences a GCC 11 warning.
This commit is contained in:
Augustin Cavalier 2021-11-17 21:10:30 -05:00
parent 52f87edca5
commit cf5edc8448

View File

@ -65,6 +65,10 @@ struct xy_command : command {
mode = COMMAND_MODE_RGB32;
opcode |= COMMAND_BLIT_RGBA;
break;
default:
debugger("invalid bits_per_pixel for xy_command");
mode = 0;
break;
}
dest_bytes_per_row = gInfo->shared_info->bytes_per_row;