diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-12-29 02:06:12 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-01-14 21:08:22 +0100 |
commit | 40be15920f849100dbf5bf94a1d09e81bf05c6e4 (patch) | |
tree | 575410d96325f875e13b3a76c5eb4cde8fe0b6b5 /thirdparty/pvrtccompressor/RgbaBitmap.h | |
parent | 472b5b116742bbb1bdc8197c60efef57c7fd169f (diff) |
Remove support for PVRTC texture encoding and decoding
On the only platform where PVRTC is supported (iOS),
ETC2 generally supersedes PVRTC in every possible way. The increased
memory usage is not really a problem thanks to modern iOS' devices
processing power being higher than its Android counterparts.
Diffstat (limited to 'thirdparty/pvrtccompressor/RgbaBitmap.h')
-rw-r--r-- | thirdparty/pvrtccompressor/RgbaBitmap.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/thirdparty/pvrtccompressor/RgbaBitmap.h b/thirdparty/pvrtccompressor/RgbaBitmap.h deleted file mode 100644 index 66b5542c1a..0000000000 --- a/thirdparty/pvrtccompressor/RgbaBitmap.h +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#include "ColorRgba.h" -#include "Bitmap.h" - -namespace Javelin { - -class RgbaBitmap : public Bitmap { -public: - RgbaBitmap(int w, int h) - : Bitmap(w, h, 4) { - } - - const ColorRgba<unsigned char> *GetData() const { - return reinterpret_cast<ColorRgba<unsigned char> *>(data); - } - - ColorRgba<unsigned char> *GetData() { - return reinterpret_cast<ColorRgba<unsigned char> *>(data); - } -}; - -} |