diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-11 21:21:08 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-24 07:35:33 +0200 |
commit | 00c66a728958c3b2804131ce5baf44880119e018 (patch) | |
tree | f8c3264b33c49b2faae23680db8f62b80c8271b8 /src/video_core/renderer_opengl/gl_stream_buffer.h | |
parent | gl_stream_buffer: Always use persistent memory maps (diff) | |
download | yuzu-00c66a728958c3b2804131ce5baf44880119e018.tar yuzu-00c66a728958c3b2804131ce5baf44880119e018.tar.gz yuzu-00c66a728958c3b2804131ce5baf44880119e018.tar.bz2 yuzu-00c66a728958c3b2804131ce5baf44880119e018.tar.lz yuzu-00c66a728958c3b2804131ce5baf44880119e018.tar.xz yuzu-00c66a728958c3b2804131ce5baf44880119e018.tar.zst yuzu-00c66a728958c3b2804131ce5baf44880119e018.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_stream_buffer.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_stream_buffer.h b/src/video_core/renderer_opengl/gl_stream_buffer.h index 65c3da93f..826c2e361 100644 --- a/src/video_core/renderer_opengl/gl_stream_buffer.h +++ b/src/video_core/renderer_opengl/gl_stream_buffer.h @@ -13,7 +13,7 @@ namespace OpenGL { class OGLStreamBuffer : private NonCopyable { public: - explicit OGLStreamBuffer(GLsizeiptr size, bool vertex_data_usage, bool prefer_coherent = false); + explicit OGLStreamBuffer(GLsizeiptr size, bool vertex_data_usage); ~OGLStreamBuffer(); /* @@ -39,8 +39,6 @@ public: private: OGLBuffer gl_buffer; - bool coherent = false; - GLintptr buffer_pos = 0; GLsizeiptr buffer_size = 0; GLintptr mapped_offset = 0; |