mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 00:59:41 +01:00
Merge pull request #9352 from LunaMoo/upscalingStuff
Minor workaround for 5xBR
This commit is contained in:
commit
f065f100ee
2 files changed
+2
-2
No files matched your search
@@ -975,7 +975,7 @@ void FramebufferManagerCommon::CopyDisplayToOutput() {
|
||||
// flip V.
|
||||
if (needBackBufferYSwap_)
|
||||
std::swap(v0, v1);
|
||||
bool linearFilter = g_Config.iBufFilter == SCALE_LINEAR;
|
||||
bool linearFilter = !postShaderIsUpscalingFilter_ && g_Config.iBufFilter == SCALE_LINEAR;
|
||||
|
||||
shaderManager_->DirtyLastShader(); // dirty lastShader_ BEFORE drawing
|
||||
PostShaderUniforms uniforms{};
|
||||
|
||||
@@ -23,6 +23,6 @@ attribute vec2 a_texcoord0;
|
||||
varying vec2 v_texcoord0;
|
||||
|
||||
void main() {
|
||||
v_texcoord0 = a_texcoord0;
|
||||
v_texcoord0 = a_texcoord0 + 0.000001; //precision workaround for HLSL translation
|
||||
gl_Position = a_position;
|
||||
}
|
||||
Reference in new issue
Block a user