wined3d: Use the correct texture coordinates in swapchain_blit() in the non-glBlitFramebuffer, NP2 case.
This commit is contained in:
parent
b45395f589
commit
6521fc78be
@ -351,10 +351,10 @@ static void swapchain_blit(const struct wined3d_swapchain *swapchain,
|
||||
|
||||
if (backbuffer->container->flags & WINED3D_TEXTURE_NORMALIZED_COORDS)
|
||||
{
|
||||
tex_left /= src_w;
|
||||
tex_right /= src_w;
|
||||
tex_top /= src_h;
|
||||
tex_bottom /= src_h;
|
||||
tex_left /= backbuffer->pow2Width;
|
||||
tex_right /= backbuffer->pow2Width;
|
||||
tex_top /= backbuffer->pow2Height;
|
||||
tex_bottom /= backbuffer->pow2Height;
|
||||
}
|
||||
|
||||
if (is_complex_fixup(backbuffer->resource.format->color_fixup))
|
||||
|
Loading…
x
Reference in New Issue
Block a user