Fix scaling post-shaders on OpenGL. See #9742

This commit is contained in:
Henrik Rydgård committed 2017-05-31 13:57:57 +02:00
1 parent 33d4f8c7ad
commit cb9b63e75a
3 files changed
+1 -12

No files matched your search

-4
View File
@@ -197,10 +197,6 @@ void FramebufferManagerVulkan::NotifyClear(bool clearColor, bool clearAlpha, boo
//}
}
void FramebufferManagerVulkan::DoNotifyDraw() {
}
void FramebufferManagerVulkan::UpdatePostShaderUniforms(int bufferWidth, int bufferHeight, int renderWidth, int renderHeight) {
float u_delta = 1.0f / renderWidth;
float v_delta = 1.0f / renderHeight;