diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-23 20:49:04 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-23 20:49:04 +0100 |
commit | 054393917e99d307eea0aabc78c0c6e5e709b2c7 (patch) | |
tree | 9e497f01b4cbb18deb1e7afc9979954b60ee848b /src/core/hle/service/nvdrv | |
parent | memory: Fix typo in RasterizerFlushVirtualRegion. (diff) | |
download | yuzu-054393917e99d307eea0aabc78c0c6e5e709b2c7.tar yuzu-054393917e99d307eea0aabc78c0c6e5e709b2c7.tar.gz yuzu-054393917e99d307eea0aabc78c0c6e5e709b2c7.tar.bz2 yuzu-054393917e99d307eea0aabc78c0c6e5e709b2c7.tar.lz yuzu-054393917e99d307eea0aabc78c0c6e5e709b2c7.tar.xz yuzu-054393917e99d307eea0aabc78c0c6e5e709b2c7.tar.zst yuzu-054393917e99d307eea0aabc78c0c6e5e709b2c7.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp index f6c2b24a8..87b3a2d74 100644 --- a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp +++ b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp @@ -32,12 +32,6 @@ void nvdisp_disp0::flip(u32 buffer_handle, u32 offset, u32 format, u32 width, u3 Core::System::GetInstance().perf_stats.EndGameFrame(); - // TODO(bunnei): The framebuffer region should only be flushed and invalidated if it is written - // to, not every frame. When we find the right place for this, the below line can be removed. - Memory::RasterizerFlushVirtualRegion(framebuffer.address, - framebuffer.width * framebuffer.height * 4, - Memory::FlushMode::FlushAndInvalidate); - VideoCore::g_renderer->SwapBuffers(framebuffer); } |