mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
gl_buffer_cache: Default initialize member variables
Ensures that the cache always has a deterministic initial state.
This commit is contained in:
parent
8d685a29bc
commit
ddcdbce067
@ -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…
Reference in New Issue
Block a user