diff options
author | bunnei <bunneidev@gmail.com> | 2019-03-04 05:17:35 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2019-03-21 03:36:02 +0100 |
commit | 241563d15c8b831a2d2b7c360d570cc721903d14 (patch) | |
tree | f43f13d6af3b9b7e2cc92d241d7aabc490ee6ef0 /src/video_core/renderer_opengl/gl_primitive_assembler.cpp | |
parent | Merge pull request #2272 from lioncash/boost (diff) | |
download | yuzu-241563d15c8b831a2d2b7c360d570cc721903d14.tar yuzu-241563d15c8b831a2d2b7c360d570cc721903d14.tar.gz yuzu-241563d15c8b831a2d2b7c360d570cc721903d14.tar.bz2 yuzu-241563d15c8b831a2d2b7c360d570cc721903d14.tar.lz yuzu-241563d15c8b831a2d2b7c360d570cc721903d14.tar.xz yuzu-241563d15c8b831a2d2b7c360d570cc721903d14.tar.zst yuzu-241563d15c8b831a2d2b7c360d570cc721903d14.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_primitive_assembler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_primitive_assembler.cpp b/src/video_core/renderer_opengl/gl_primitive_assembler.cpp index 75d816795..2bcbd3da2 100644 --- a/src/video_core/renderer_opengl/gl_primitive_assembler.cpp +++ b/src/video_core/renderer_opengl/gl_primitive_assembler.cpp @@ -40,8 +40,7 @@ GLintptr PrimitiveAssembler::MakeQuadArray(u32 first, u32 count) { return index_offset; } -GLintptr PrimitiveAssembler::MakeQuadIndexed(Tegra::GPUVAddr gpu_addr, std::size_t index_size, - u32 count) { +GLintptr PrimitiveAssembler::MakeQuadIndexed(GPUVAddr gpu_addr, std::size_t index_size, u32 count) { const std::size_t map_size{CalculateQuadSize(count)}; auto [dst_pointer, index_offset] = buffer_cache.ReserveMemory(map_size); |