diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-28 23:12:28 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:36:12 +0200 |
commit | 58c0d374227c9607e8ddcc9f2bff78a1fb86f440 (patch) | |
tree | 61888edb62f549a4309102bdbe2345bdebcdb9f8 /src/video_core/renderer_opengl/gl_stream_buffer.h | |
parent | gl_rasterizer_cache: Use texture buffers to emulate texture buffers (diff) | |
download | yuzu-58c0d374227c9607e8ddcc9f2bff78a1fb86f440.tar yuzu-58c0d374227c9607e8ddcc9f2bff78a1fb86f440.tar.gz yuzu-58c0d374227c9607e8ddcc9f2bff78a1fb86f440.tar.bz2 yuzu-58c0d374227c9607e8ddcc9f2bff78a1fb86f440.tar.lz yuzu-58c0d374227c9607e8ddcc9f2bff78a1fb86f440.tar.xz yuzu-58c0d374227c9607e8ddcc9f2bff78a1fb86f440.tar.zst yuzu-58c0d374227c9607e8ddcc9f2bff78a1fb86f440.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_stream_buffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_stream_buffer.h b/src/video_core/renderer_opengl/gl_stream_buffer.h index 3d18ecb4d..f8383cbd4 100644 --- a/src/video_core/renderer_opengl/gl_stream_buffer.h +++ b/src/video_core/renderer_opengl/gl_stream_buffer.h @@ -13,7 +13,8 @@ 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, bool prefer_coherent = false, + bool use_persistent = true); ~OGLStreamBuffer(); GLuint GetHandle() const; |