mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-14 01:47:46 +00:00
gl_buffer_cache: Default initialize member variables
Ensures that the cache always has a deterministic initial state.
This commit is contained in:
parent
ef88902b2c
commit
d10014e47f
1 changed files with 3 additions and 3 deletions
|
@ -49,9 +49,9 @@ protected:
|
||||||
private:
|
private:
|
||||||
OGLStreamBuffer stream_buffer;
|
OGLStreamBuffer stream_buffer;
|
||||||
|
|
||||||
u8* buffer_ptr;
|
u8* buffer_ptr = nullptr;
|
||||||
GLintptr buffer_offset;
|
GLintptr buffer_offset = 0;
|
||||||
GLintptr buffer_offset_base;
|
GLintptr buffer_offset_base = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace OpenGL
|
} // namespace OpenGL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue