mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
StreamBuffer: Remove unnecessary inline specifiers
Methods defined directly in class bodies are inline by default
This commit is contained in:
@ -33,7 +33,7 @@ public:
|
|||||||
virtual std::pair<u8*, u32> Map(u32 size) = 0;
|
virtual std::pair<u8*, u32> Map(u32 size) = 0;
|
||||||
virtual void Unmap(u32 used_size) = 0;
|
virtual void Unmap(u32 used_size) = 0;
|
||||||
|
|
||||||
inline std::pair<u8*, u32> Map(u32 size, u32 stride)
|
std::pair<u8*, u32> Map(u32 size, u32 stride)
|
||||||
{
|
{
|
||||||
u32 padding = m_iterator % stride;
|
u32 padding = m_iterator % stride;
|
||||||
if (padding)
|
if (padding)
|
||||||
@ -60,7 +60,7 @@ protected:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
static const int SYNC_POINTS = 16;
|
static const int SYNC_POINTS = 16;
|
||||||
inline int SLOT(u32 x) const { return x >> m_bit_per_slot; }
|
int SLOT(u32 x) const { return x >> m_bit_per_slot; }
|
||||||
const int m_bit_per_slot;
|
const int m_bit_per_slot;
|
||||||
|
|
||||||
GLsync fences[SYNC_POINTS];
|
GLsync fences[SYNC_POINTS];
|
||||||
|
Reference in New Issue
Block a user