Skip to content
Snippets Groups Projects
Commit ddcdbce0 authored by Lioncash's avatar Lioncash
Browse files

gl_buffer_cache: Default initialize member variables

Ensures that the cache always has a deterministic initial state.
parent 8d685a29
No related branches found
No related tags found
Loading
......@@ -49,9 +49,9 @@ protected:
private:
OGLStreamBuffer stream_buffer;
u8* buffer_ptr;
GLintptr buffer_offset;
GLintptr buffer_offset_base;
u8* buffer_ptr = nullptr;
GLintptr buffer_offset = 0;
GLintptr buffer_offset_base = 0;
};
} // namespace OpenGL
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment