mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Reformat all the things!
This commit is contained in:
@ -776,9 +776,9 @@ void Tev::Draw()
|
||||
// Based on that, choose the index such that points which are far away from the z-axis use the
|
||||
// 10th "k" value and such that central points use the first value.
|
||||
float floatindex = 9.f - std::abs(offset) * 9.f;
|
||||
floatindex = (floatindex < 0.f) ? 0.f : (floatindex > 9.f) ?
|
||||
9.f :
|
||||
floatindex; // TODO: This shouldn't be necessary!
|
||||
floatindex = (floatindex < 0.f) ?
|
||||
0.f :
|
||||
(floatindex > 9.f) ? 9.f : floatindex; // TODO: This shouldn't be necessary!
|
||||
|
||||
// Get the two closest integer indices, look up the corresponding samples
|
||||
const int indexlower = (int)floor(floatindex);
|
||||
|
@ -1216,7 +1216,7 @@ static void EncodeZ24(u8* dst, const u8* src, EFBCopyFormat format)
|
||||
ENCODE_LOOP_SPANS
|
||||
break;
|
||||
|
||||
// FIXME: handle RA8?
|
||||
// FIXME: handle RA8?
|
||||
|
||||
case EFBCopyFormat::RGBA8:
|
||||
SetBlockDimensions(2, 2, &sBlkCount, &tBlkCount, &sBlkSize, &tBlkSize);
|
||||
@ -1326,7 +1326,7 @@ static void EncodeZ24halfscale(u8* dst, const u8* src, EFBCopyFormat format)
|
||||
ENCODE_LOOP_SPANS
|
||||
break;
|
||||
|
||||
// FIXME: handle RA8?
|
||||
// FIXME: handle RA8?
|
||||
|
||||
case EFBCopyFormat::RGBA8:
|
||||
SetBlockDimensions(2, 2, &sBlkCount, &tBlkCount, &sBlkSize, &tBlkSize);
|
||||
|
Reference in New Issue
Block a user