GSdx: FXAA 3.10, page up key activates it

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4828 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gabest11 committed 2011-07-25 11:16:01 +00:00
1 parent 0b09b84526
commit bfbf403bf4
21 files changed
+2169 -35

No files matched your search

+9
View File
@@ -36,6 +36,7 @@ GPURenderer::GPURenderer(GSDevice* dev)
m_dither = theApp.GetConfig("dithering", 1);
m_aspectratio = theApp.GetConfig("AspectRatio", 1);
m_vsync = !!theApp.GetConfig("vsync", 0);
m_fxaa = !!theApp.GetConfig("fxaa", 0);
m_scale = m_mem.GetScale();
#ifdef _WINDOWS
@@ -116,6 +117,11 @@ bool GPURenderer::Merge()
m_dev->Merge(st, sr, dr, s, 1, 1, GSVector4(0, 0, 0, 1));
if(m_fxaa)
{
m_dev->FXAA();
}
return true;
}
@@ -235,6 +241,9 @@ LRESULT GPURenderer::OnMessage(UINT message, WPARAM wParam, LPARAM lParam)
case VK_NEXT:
m_aspectratio = (m_aspectratio + 1) % 3;
return 0;
case VK_PRIOR:
m_fxaa = !m_fxaa;
return 0;
}
}