D3D9: Fix texel to pixel mapping when sampling textures properly.

This commit is contained in:
NeoBrainX
2012-03-24 16:30:00 +01:00
parent fee98b426b
commit 7a1744575d
5 changed files with 16 additions and 3 deletions

View File

@ -43,6 +43,7 @@
#include "XFMemory.h"
#include "FifoPlayer/FifoRecorder.h"
#include "AVIDump.h"
#include "VertexShaderManager.h"
#include <cmath>
#include <string>
@ -193,6 +194,7 @@ bool Renderer::CalculateTargetSize(int multiplier)
{
s_target_width = newEFBWidth;
s_target_height = newEFBHeight;
VertexShaderManager::SetViewportChanged();
return true;
}
return false;