diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2017-08-14 23:07:39 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2017-11-17 22:11:30 -0600 |
| commit | 2295d60fdc95af80af03174753b7389a44896fc1 (patch) | |
| tree | c28391a7b53dffcd0693d11a8870b2ed0d64dd6a /Source/Core/VideoCommon/RenderBase.cpp | |
| parent | 7f0834c91992c3726f1ba36f32f85b97aaa1ece2 (diff) | |
VideoCommon: Output gamma now comes from the xfb copy
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp index d438951944..67721caabc 100644 --- a/Source/Core/VideoCommon/RenderBase.cpp +++ b/Source/Core/VideoCommon/RenderBase.cpp @@ -599,7 +599,7 @@ void Renderer::RecordVideoMemory() } void Renderer::Swap(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, const EFBRectangle& rc, - u64 ticks, float Gamma) + u64 ticks) { // Heuristic to detect if a GameCube game is in 16:9 anamorphic widescreen mode. if (!SConfig::GetInstance().bWii) @@ -646,7 +646,7 @@ void Renderer::Swap(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, const m_last_xfb_texture = xfb_entry->texture.get(); // TODO: merge more generic parts into VideoCommon - g_renderer->SwapImpl(xfb_entry->texture.get(), rc, ticks, Gamma); + g_renderer->SwapImpl(xfb_entry->texture.get(), rc, ticks, xfb_entry->gamma); m_fps_counter.Update(); update_frame_count = true; |
