Revert unintentional change. Warning fix

This commit is contained in:
Henrik Rydgård 2024-12-31 02:17:08 +01:00
parent e0991a7070
commit 7ddd7024f4
2 changed files with 2 additions and 2 deletions

View file

@ -494,7 +494,7 @@ int DepthRasterClipIndexedTriangles(int *tx, int *ty, float *tz, const float *tr
// Floating point double triangle area. Can't be reused for the integer-snapped raster reliably (though may work...)
// Still good for culling early and pretty cheap to compute.
Vec4F32 doubleTriArea = (x1 - x0) * (y2 - y0) - (x2 - x0) * (y1 - y0) - Vec4F32::Splat((float)(MIN_TWICE_TRI_AREA + 2));
Vec4F32 doubleTriArea = (x1 - x0) * (y2 - y0) - (x2 - x0) * (y1 - y0) - Vec4F32::Splat((float)(MIN_TWICE_TRI_AREA));
if (!AnyZeroSignBit(doubleTriArea)) {
gpuStats.numDepthRasterEarlySize += 4;
continue;

View file

@ -1049,7 +1049,7 @@ CharQueue GetQueue() {
bool TestCharQueue() {
// We use a tiny block size for testing.
CharQueue queue = std::move(GetQueue());
CharQueue queue = GetQueue();
// Add 16 chars.
queue.push_back("abcdefghijkl");