diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-04-14 17:44:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-14 17:44:20 +0200 |
| commit | b6a31d0bf63c7627f0217b21b46bde084298cda7 (patch) | |
| tree | fed0c9d33789f9e9636de8f9ed6280da9a48a4a9 /thirdparty/etcpak/MipMap.hpp | |
| parent | f95945af5a0cbbdf1e79b523f4a49c1e0084694c (diff) | |
| parent | 638cfec853cfdbc95b5ccc67477afbaa3a53bc33 (diff) | |
| download | redot-engine-b6a31d0bf63c7627f0217b21b46bde084298cda7.tar.gz | |
Merge pull request #47890 from akien-mga/etcpak-compress-only
etcpak: We only need the compression code, remove rest of etcpak app
Diffstat (limited to 'thirdparty/etcpak/MipMap.hpp')
| -rw-r--r-- | thirdparty/etcpak/MipMap.hpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/thirdparty/etcpak/MipMap.hpp b/thirdparty/etcpak/MipMap.hpp deleted file mode 100644 index d3b4bc9e7c..0000000000 --- a/thirdparty/etcpak/MipMap.hpp +++ /dev/null @@ -1,11 +0,0 @@ -#ifndef __MIPMAP_HPP__ -#define __MIPMAP_HPP__ - -#include "Vector.hpp" - -inline int NumberOfMipLevels( const v2i& size ) -{ - return (int)floor( log2( std::max( size.x, size.y ) ) ) + 1; -} - -#endif |
