gl_buffer_cache: Default initialize member variables

Ensures that the cache always has a deterministic initial state.
master
Lioncash 2018-09-06 15:03:01 +07:00
parent 8d685a29bc
commit ddcdbce067
1 changed files with 3 additions and 3 deletions

@ -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