accelerants: Add default case for xy_command initialization.
Silences a GCC 11 warning.
This commit is contained in:
parent
52f87edca5
commit
cf5edc8448
@ -65,6 +65,10 @@ struct xy_command : command {
|
|||||||
mode = COMMAND_MODE_RGB32;
|
mode = COMMAND_MODE_RGB32;
|
||||||
opcode |= COMMAND_BLIT_RGBA;
|
opcode |= COMMAND_BLIT_RGBA;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
debugger("invalid bits_per_pixel for xy_command");
|
||||||
|
mode = 0;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
dest_bytes_per_row = gInfo->shared_info->bytes_per_row;
|
dest_bytes_per_row = gInfo->shared_info->bytes_per_row;
|
||||||
|
Loading…
Reference in New Issue
Block a user