mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Revert unintentional change. Warning fix
This commit is contained in:
parent
e0991a7070
commit
7ddd7024f4
2 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue