GPU: Fix texcoord off-by-one error in rectangles

This commit is contained in:
Connor McLaughlin
2019-10-29 23:42:08 +10:00
parent 9f5bd6e5f9
commit 5626d4f282
5 changed files with 35 additions and 25 deletions

View File

@ -101,7 +101,6 @@ protected:
{
return std::make_tuple(static_cast<u8>(texcoord), static_cast<u8>(texcoord >> 8));
}
static constexpr u16 PackTexcoord(u8 x, u8 y) { return ZeroExtend16(x) | (ZeroExtend16(y) << 8); }
static constexpr std::tuple<u8, u8, u8> UnpackColorRGB24(u32 rgb24)
{