mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-12-21 03:23:06 +00:00
video_core/textures/astc: Remove unused variables
Silences a few compilation warnings.
This commit is contained in:
parent
7cb17834c7
commit
c56d893e77
1 changed files with 2 additions and 6 deletions
|
@ -25,8 +25,8 @@
|
||||||
|
|
||||||
class InputBitStream {
|
class InputBitStream {
|
||||||
public:
|
public:
|
||||||
explicit InputBitStream(const unsigned char* ptr, int nBits = 0, int start_offset = 0)
|
explicit InputBitStream(const unsigned char* ptr, int start_offset = 0)
|
||||||
: m_NumBits(nBits), m_CurByte(ptr), m_NextBit(start_offset % 8) {}
|
: m_CurByte(ptr), m_NextBit(start_offset % 8) {}
|
||||||
|
|
||||||
~InputBitStream() = default;
|
~InputBitStream() = default;
|
||||||
|
|
||||||
|
@ -55,12 +55,9 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const int m_NumBits;
|
|
||||||
const unsigned char* m_CurByte;
|
const unsigned char* m_CurByte;
|
||||||
int m_NextBit = 0;
|
int m_NextBit = 0;
|
||||||
int m_BitsRead = 0;
|
int m_BitsRead = 0;
|
||||||
|
|
||||||
bool done = false;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class OutputBitStream {
|
class OutputBitStream {
|
||||||
|
@ -114,7 +111,6 @@ private:
|
||||||
const int m_NumBits;
|
const int m_NumBits;
|
||||||
unsigned char* m_CurByte;
|
unsigned char* m_CurByte;
|
||||||
int m_NextBit = 0;
|
int m_NextBit = 0;
|
||||||
int m_BitsRead = 0;
|
|
||||||
|
|
||||||
bool done = false;
|
bool done = false;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue