StreamBuffer: Remove unnecessary inline specifiers
Methods defined directly in class bodies are inline by default
This commit is contained in:
parent
365a326798
commit
7b69fec8e7
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue