Minor code cleanup
This commit is contained in:
Родитель
52aead71d7
Коммит
983bb95575
|
@ -4331,6 +4331,9 @@ namespace
|
||||||
case DXGI_FORMAT_A8_UNORM:
|
case DXGI_FORMAT_A8_UNORM:
|
||||||
// Conversion logic for these kinds of textures is unintuitive for WIC code paths
|
// Conversion logic for these kinds of textures is unintuitive for WIC code paths
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -4343,6 +4346,9 @@ namespace
|
||||||
case DXGI_FORMAT_A8_UNORM:
|
case DXGI_FORMAT_A8_UNORM:
|
||||||
// Conversion logic for these kinds of textures is unintuitive for WIC code paths
|
// Conversion logic for these kinds of textures is unintuitive for WIC code paths
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -4356,6 +4362,9 @@ namespace
|
||||||
case DXGI_FORMAT_A8_UNORM:
|
case DXGI_FORMAT_A8_UNORM:
|
||||||
// Conversion logic for these kinds of textures is unintuitive for WIC code paths
|
// Conversion logic for these kinds of textures is unintuitive for WIC code paths
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1303,6 +1303,9 @@ namespace
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// This performs any required clamping
|
// This performs any required clamping
|
||||||
|
@ -2483,6 +2486,9 @@ namespace
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// This performs any required clamping
|
// This performs any required clamping
|
||||||
|
|
|
@ -767,6 +767,9 @@ namespace
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// This performs any required clamping
|
// This performs any required clamping
|
||||||
|
|
Загрузка…
Ссылка в новой задаче