mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Adds some default values.
This commit is contained in:
parent
68d6feaa03
commit
a321ff3037
@ -99,11 +99,15 @@ inline size_t size_for_data_type(InputDataType data_type) {
|
||||
case InputDataType::Red8Green8Blue8:
|
||||
case InputDataType::PhaseLinkedLuminance8:
|
||||
return 4;
|
||||
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
inline DisplayType natural_display_type_for_data_type(InputDataType data_type) {
|
||||
switch(data_type) {
|
||||
default:
|
||||
case InputDataType::Luminance1:
|
||||
case InputDataType::Luminance8:
|
||||
case InputDataType::PhaseLinkedLuminance8:
|
||||
|
Loading…
Reference in New Issue
Block a user