Utility/PixelFormat: Reject formats with over 64 bpp per component
This commit is contained in:
parent
d9774f30a3
commit
e76ef3902e
|
|
@ -123,6 +123,9 @@ namespace Nz
|
|||
if (usedBits > bitsPerPixel)
|
||||
return false;
|
||||
|
||||
if (usedBits > 64) //< Currently, formats with over 64 bits per component are not supported
|
||||
return false;
|
||||
|
||||
switch (types[i])
|
||||
{
|
||||
case PixelFormatSubType_Half:
|
||||
|
|
|
|||
Loading…
Reference in New Issue