diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-06 21:03:01 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-06 21:07:15 +0200 |
commit | ddcdbce0679652bd16016abcce0a711ba2449d07 (patch) | |
tree | 8146356a09f7ddb222a80b45660d324fe0f154ab /src/video_core | |
parent | gl_buffer_cache: Make GetHandle() a const member function (diff) | |
download | yuzu-ddcdbce0679652bd16016abcce0a711ba2449d07.tar yuzu-ddcdbce0679652bd16016abcce0a711ba2449d07.tar.gz yuzu-ddcdbce0679652bd16016abcce0a711ba2449d07.tar.bz2 yuzu-ddcdbce0679652bd16016abcce0a711ba2449d07.tar.lz yuzu-ddcdbce0679652bd16016abcce0a711ba2449d07.tar.xz yuzu-ddcdbce0679652bd16016abcce0a711ba2449d07.tar.zst yuzu-ddcdbce0679652bd16016abcce0a711ba2449d07.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_opengl/gl_buffer_cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_buffer_cache.h b/src/video_core/renderer_opengl/gl_buffer_cache.h index 3ae78cb26..6da862902 100644 --- a/src/video_core/renderer_opengl/gl_buffer_cache.h +++ b/src/video_core/renderer_opengl/gl_buffer_cache.h @@ -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 |