mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 17:49:01 +00:00
Patch by omegadox. fixed bloom
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@844 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
3d345450f5
commit
c8c160b430
3 changed files with 8 additions and 8 deletions
|
@ -459,7 +459,7 @@ void Renderer::ReinitView(int nNewWidth, int nNewHeight)
|
|||
}
|
||||
int Renderer::GetTargetWidth()
|
||||
{
|
||||
if(g_Config.bStretchToFit)
|
||||
if(g_Config.bStretchToFit && g_Config.renderToMainframe)
|
||||
return 640;
|
||||
else
|
||||
return nBackbufferWidth; // return the actual window width
|
||||
|
@ -467,7 +467,7 @@ int Renderer::GetTargetWidth()
|
|||
|
||||
int Renderer::GetTargetHeight()
|
||||
{
|
||||
if(g_Config.bStretchToFit)
|
||||
if(g_Config.bStretchToFit && g_Config.renderToMainframe)
|
||||
return 480;
|
||||
else
|
||||
return nBackbufferHeight; // return the actual window height
|
||||
|
@ -562,7 +562,7 @@ void Renderer::FlushZBufferAlphaToTarget()
|
|||
for(int i = 1; i < 8; ++i) TextureMngr::DisableStage(i);
|
||||
GL_REPORT_ERRORD();
|
||||
|
||||
if(g_Config.bStretchToFit)
|
||||
if(g_Config.bStretchToFit && g_Config.renderToMainframe)
|
||||
{
|
||||
//TODO: Do Correctly in a bit
|
||||
float FactorW = (float)640 / (float)nBackbufferWidth;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue