mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 10:47:53 +02:00
Fix warnings in TGAReader
This commit is contained in:
parent
1f0a8b18c8
commit
62f17acaf7
1 changed files with 3 additions and 2 deletions
|
@ -50,9 +50,10 @@ QImage image::readTGA(QIODevice& content) {
|
|||
};
|
||||
|
||||
constexpr bool WANT_DEBUG { false };
|
||||
constexpr size_t TGA_HEADER_SIZE_BYTES { 18 };
|
||||
constexpr qint64 TGA_HEADER_SIZE_BYTES { 18 };
|
||||
|
||||
// BottomLeft: 0, TopLeft: 1
|
||||
constexpr uint8_t ORIENTATION_BOTTOM_LEFT { 0 };
|
||||
constexpr uint8_t ORIENTATION_TOP_LEFT { 1 };
|
||||
|
||||
TGAHeader header;
|
||||
|
||||
|
|
Loading…
Reference in a new issue