1
0
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:
Thomas Harte 2019-01-25 20:21:24 -05:00 committed by Thomas Harte
parent 68d6feaa03
commit a321ff3037

View File

@ -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: