diff options
author | Mat M <mathew1800@gmail.com> | 2019-05-14 06:36:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-14 06:36:26 -0400 |
commit | dadcf317dc38e94c9f72ab6d897da91b04ec84c6 (patch) | |
tree | ed230c56d70c233cd24f44fab8ac15dde19563e8 /src/video_core/textures | |
parent | 8b933e77cd385abe69298dfca6acabd13888aa0a (diff) | |
parent | b6408e9671fd3e238534c2a0bac3355f68646576 (diff) |
Merge pull request #2461 from lioncash/unused-var
video_core: Remove a few unused variables and functions
Diffstat (limited to 'src/video_core/textures')
-rw-r--r-- | src/video_core/textures/astc.cpp | 8 |
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; }; |