diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-01-31 23:41:29 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-02-01 01:47:28 +0100 |
commit | 8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de (patch) | |
tree | 5bbbdf9b9e67a8374c9b19cb2166d817abe60a9b /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | GPU: Improve syncing. (diff) | |
download | yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.tar yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.tar.gz yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.tar.bz2 yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.tar.lz yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.tar.xz yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.tar.zst yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 57a6ff752..142412a8e 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -484,8 +484,8 @@ Tegra::Engines::AccelerateDMAInterface& RasterizerOpenGL::AccessAccelerateDMA() return accelerate_dma; } -void RasterizerOpenGL::AccelerateInline2Memory(GPUVAddr address, size_t copy_size, - std::span<u8> memory) { +void RasterizerOpenGL::AccelerateInlineToMemory(GPUVAddr address, size_t copy_size, + std::span<u8> memory) { auto cpu_addr = gpu_memory.GpuToCpuAddress(address); if (!cpu_addr) [[unlikely]] { gpu_memory.WriteBlock(address, memory.data(), copy_size); |