Browse Source

gl_buffer_cache: Default initialize member variables

Ensures that the cache always has a deterministic initial state.
nce_cpp
Lioncash 7 years ago
parent
commit
d10014e47f
  1. 6
      src/video_core/renderer_opengl/gl_buffer_cache.h

6
src/video_core/renderer_opengl/gl_buffer_cache.h

@ -49,9 +49,9 @@ protected:
private: private:
OGLStreamBuffer stream_buffer; 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 } // namespace OpenGL
Loading…
Cancel
Save