summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-10 00:30:39 +0200
committerLioncash <mathew1800@gmail.com>2019-05-10 00:33:36 +0200
commitc56d893e772617844d7553a79e3a89a6d0a73519 (patch)
tree5a69ed3c64c78c2b92ba5c92ab6bbe705c65093c
parentMerge pull request #2437 from lioncash/audctl (diff)
downloadyuzu-c56d893e772617844d7553a79e3a89a6d0a73519.tar
yuzu-c56d893e772617844d7553a79e3a89a6d0a73519.tar.gz
yuzu-c56d893e772617844d7553a79e3a89a6d0a73519.tar.bz2
yuzu-c56d893e772617844d7553a79e3a89a6d0a73519.tar.lz
yuzu-c56d893e772617844d7553a79e3a89a6d0a73519.tar.xz
yuzu-c56d893e772617844d7553a79e3a89a6d0a73519.tar.zst
yuzu-c56d893e772617844d7553a79e3a89a6d0a73519.zip
-rw-r--r--src/video_core/textures/astc.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/video_core/textures/astc.cpp b/src/video_core/textures/astc.cpp
index eafb6b73a..a9b8f69af 100644
--- a/src/video_core/textures/astc.cpp
+++ b/src/video_core/textures/astc.cpp
@@ -25,8 +25,8 @@
class InputBitStream {
public:
- explicit InputBitStream(const unsigned char* ptr, int nBits = 0, int start_offset = 0)
- : m_NumBits(nBits), m_CurByte(ptr), m_NextBit(start_offset % 8) {}
+ explicit InputBitStream(const unsigned char* ptr, int start_offset = 0)
+ : m_CurByte(ptr), m_NextBit(start_offset % 8) {}
~InputBitStream() = default;
@@ -55,12 +55,9 @@ public:
}
private:
- const int m_NumBits;
const unsigned char* m_CurByte;
int m_NextBit = 0;
int m_BitsRead = 0;
-
- bool done = false;
};
class OutputBitStream {
@@ -114,7 +111,6 @@ private:
const int m_NumBits;
unsigned char* m_CurByte;
int m_NextBit = 0;
- int m_BitsRead = 0;
bool done = false;
};