OGL: Use floating point arithmetic to scale the depth value.

This commit is contained in:
Jules Blok
2015-05-20 13:48:34 +02:00
parent 05d60f4fef
commit 05f42f94a0
2 changed files with 5 additions and 5 deletions

View File

@ -428,7 +428,6 @@ u32 Renderer::AccessEFB(EFBAccessType type, u32 x, u32 y, u32 poke_data)
}
D3D::context->Unmap(read_tex, 0);
// TODO: in RE0 this value is often off by one in Video_DX9 (where this code is derived from), which causes lighting to disappear
return ret;
}
else if (type == PEEK_COLOR)