TINYGL: Fix Cut and Paste Error Causing Duplicate Branch

This was detected by GCC's -Wduplicated-branches warning which is
not enabled by default.
This commit is contained in:
D G Turner 2021-12-17 00:44:18 +00:00
parent bca856bb8f
commit 70f64dd398

View file

@ -703,7 +703,7 @@ void FrameBuffer::fillTriangleSmooth(ZBufferPoint *p0, ZBufferPoint *p1, ZBuffer
if (_depthWrite && _depthTestEnabled)
fillTriangle<interpRGB, interpZ, interpST, interpSTZ, smoothMode, true>(p0, p1, p2);
else
fillTriangle<interpRGB, interpZ, interpST, interpSTZ, smoothMode, true>(p0, p1, p2);
fillTriangle<interpRGB, interpZ, interpST, interpSTZ, smoothMode, false>(p0, p1, p2);
}
void FrameBuffer::fillTriangleTextureMappingPerspectiveSmooth(ZBufferPoint *p0, ZBufferPoint *p1, ZBufferPoint *p2) {