mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2024-11-24 05:15:42 +01:00
Qualify namespace
This commit is contained in:
parent
43aa8266b6
commit
34f90c07a2
@ -62,6 +62,8 @@ class CompressedImage : public FasTC::Image<FasTC::Pixel> {
|
||||
FasTC::ECompressionFormat m_Format;
|
||||
uint8 *m_CompressedData;
|
||||
|
||||
typedef FasTC::Image<FasTC::Pixel> UncompressedImage;
|
||||
|
||||
public:
|
||||
CompressedImage(const CompressedImage &);
|
||||
CompressedImage &operator=(const CompressedImage &);
|
||||
|
@ -71,7 +71,7 @@ using FasTC::DecompressionJob;
|
||||
using FasTC::ECompressionFormat;
|
||||
|
||||
CompressedImage::CompressedImage( const CompressedImage &other )
|
||||
: Image(other)
|
||||
: UncompressedImage(other)
|
||||
, m_Format(other.m_Format)
|
||||
, m_CompressedData(0)
|
||||
{
|
||||
@ -88,7 +88,7 @@ CompressedImage::CompressedImage(
|
||||
const ECompressionFormat format,
|
||||
const unsigned char *data
|
||||
)
|
||||
: FasTC::Image<>(width, height, reinterpret_cast<uint32 *>(NULL))
|
||||
: UncompressedImage(width, height, reinterpret_cast<uint32 *>(NULL))
|
||||
, m_Format(format)
|
||||
, m_CompressedData(0)
|
||||
{
|
||||
@ -101,7 +101,7 @@ CompressedImage::CompressedImage(
|
||||
}
|
||||
|
||||
CompressedImage &CompressedImage::operator=(const CompressedImage &other) {
|
||||
Image::operator=(other);
|
||||
UncompressedImage::operator=(other);
|
||||
m_Format = other.m_Format;
|
||||
if(other.m_CompressedData) {
|
||||
uint32 cmpSz = GetCompressedSize();
|
||||
|
Loading…
Reference in New Issue
Block a user