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:
parent
bca856bb8f
commit
70f64dd398
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue