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
No related merge requests found
...@@ -49,9 +49,9 @@ protected: ...@@ -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
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