We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2a0fad commit 740974dCopy full SHA for 740974d
src/vtfpp/ImageConversion.cpp
@@ -1264,6 +1264,7 @@ std::vector<std::byte> ImageConversion::convertFileToImageData(std::span<const s
1264
1265
switch (channels) {
1266
case 1: format = ImageFormat::R32F; break;
1267
+ case 2: format = ImageFormat::RG3232F; break;
1268
case 3: format = ImageFormat::RGB323232F; break;
1269
case 4: format = ImageFormat::RGBA32323232F; break;
1270
default: return {};
0 commit comments