mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Revert unintentional change. Warning fix
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user