Merge branch 'master' into vulkan
Former-commit-id: c8f084d159de392aaa6c11354667fe777057a631 [formerly 3ce2308741fdfea19b6564d5ed4bb9e1e36b87cf] Former-commit-id: 43e39f71cd5ae1fd28f02308956361c2a7580e9d
This commit is contained in:
@@ -156,7 +156,7 @@ namespace Nz
|
||||
case PixelFormatType_DXT1:
|
||||
case PixelFormatType_DXT3:
|
||||
case PixelFormatType_DXT5:
|
||||
return (((width + 3) / 4) * ((height + 3) / 4) * (format == PixelFormatType_DXT1) ? 8 : 16) * depth;
|
||||
return (((width + 3) / 4) * ((height + 3) / 4) * ((format == PixelFormatType_DXT1) ? 8 : 16)) * depth;
|
||||
|
||||
default:
|
||||
NazaraError("Unsupported format");
|
||||
|
||||
Reference in New Issue
Block a user