File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -316,8 +316,12 @@ S32 LLImageGL::dataFormatBits(S32 dataformat)
316
316
case GL_RG16F: return 32 ;
317
317
case GL_RGB16F: return 48 ;
318
318
case GL_RGBA16F: return 64 ;
319
+ case GL_R32F: return 32 ;
320
+ case GL_RG32F: return 64 ;
321
+ case GL_RGB32F: return 96 ;
322
+ case GL_RGBA32F: return 128 ;
319
323
default :
320
- LL_ERRS () << " LLImageGL::Unknown format: " << dataformat << LL_ENDL;
324
+ LL_ERRS () << " LLImageGL::Unknown format: " << std::hex << dataformat << std::dec << LL_ENDL;
321
325
return 0 ;
322
326
}
323
327
}
@@ -367,7 +371,7 @@ S32 LLImageGL::dataFormatComponents(S32 dataformat)
367
371
case GL_SRGB_ALPHA: return 4 ;
368
372
case GL_BGRA: return 4 ; // Used for QuickTime media textures on the Mac
369
373
default :
370
- LL_ERRS () << " LLImageGL::Unknown format: " << dataformat << LL_ENDL;
374
+ LL_ERRS () << " LLImageGL::Unknown format: " << std::hex << dataformat << std::dec << LL_ENDL;
371
375
return 0 ;
372
376
}
373
377
}
You can’t perform that action at this time.
0 commit comments