diff options
author | Subv <subv2112@gmail.com> | 2018-04-22 02:19:33 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-04-23 18:34:50 +0200 |
commit | 9531a2928369bcc094c28b77408811d47c46c7f2 (patch) | |
tree | 791f30228e94a89ece5967306748d4e4d08e2020 /src/video_core/renderer_opengl/gl_rasterizer.h | |
parent | Merge pull request #377 from adityaruplaha/sdl2-fullscreen (diff) | |
download | yuzu-9531a2928369bcc094c28b77408811d47c46c7f2.tar yuzu-9531a2928369bcc094c28b77408811d47c46c7f2.tar.gz yuzu-9531a2928369bcc094c28b77408811d47c46c7f2.tar.bz2 yuzu-9531a2928369bcc094c28b77408811d47c46c7f2.tar.lz yuzu-9531a2928369bcc094c28b77408811d47c46c7f2.tar.xz yuzu-9531a2928369bcc094c28b77408811d47c46c7f2.tar.zst yuzu-9531a2928369bcc094c28b77408811d47c46c7f2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index 03e02b52a..544714b95 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -148,13 +148,13 @@ private: static constexpr size_t STREAM_BUFFER_SIZE = 4 * 1024 * 1024; std::unique_ptr<OGLStreamBuffer> stream_buffer; - GLsizeiptr vs_input_size; + size_t CalculateVertexArraysSize() const; - void SetupVertexArray(u8* array_ptr, GLintptr buffer_offset); + std::pair<u8*, GLintptr> SetupVertexArrays(u8* array_ptr, GLintptr buffer_offset); std::array<OGLBuffer, Tegra::Engines::Maxwell3D::Regs::MaxShaderStage> uniform_buffers; - void SetupShaders(u8* buffer_ptr, GLintptr buffer_offset, size_t ptr_pos); + void SetupShaders(u8* buffer_ptr, GLintptr buffer_offset); enum class AccelDraw { Disabled, Arrays, Indexed }; AccelDraw accelerate_draw; |