diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-06 04:49:45 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-06 05:37:56 +0200 |
commit | f7691ebe57d083f12969b5e186154a301f7bfae1 (patch) | |
tree | 03f494770c8686d1dffd835f2cac88d92776f23f /src/video_core/renderer_opengl/gl_buffer_cache.h | |
parent | gl_rasterizer: Minor style changes (diff) | |
download | yuzu-f7691ebe57d083f12969b5e186154a301f7bfae1.tar yuzu-f7691ebe57d083f12969b5e186154a301f7bfae1.tar.gz yuzu-f7691ebe57d083f12969b5e186154a301f7bfae1.tar.bz2 yuzu-f7691ebe57d083f12969b5e186154a301f7bfae1.tar.lz yuzu-f7691ebe57d083f12969b5e186154a301f7bfae1.tar.xz yuzu-f7691ebe57d083f12969b5e186154a301f7bfae1.tar.zst yuzu-f7691ebe57d083f12969b5e186154a301f7bfae1.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_buffer_cache.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_buffer_cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_buffer_cache.h b/src/video_core/renderer_opengl/gl_buffer_cache.h index 3befdc6ab..8c8ac4038 100644 --- a/src/video_core/renderer_opengl/gl_buffer_cache.h +++ b/src/video_core/renderer_opengl/gl_buffer_cache.h @@ -27,13 +27,13 @@ public: std::size_t stream_size); ~OGLBufferCache(); + const GLuint* GetEmptyBuffer(std::size_t) override; + protected: OGLBuffer CreateBuffer(std::size_t size) override; const GLuint* ToHandle(const OGLBuffer& buffer) override; - const GLuint* GetEmptyBuffer(std::size_t) override; - void UploadBufferData(const OGLBuffer& buffer, std::size_t offset, std::size_t size, const u8* data) override; |