From Yefei He, fix to QUAD_STRIP stats.
This commit is contained in:
parent
ebc0580f12
commit
9cce605cb2
@ -181,7 +181,7 @@ inline unsigned int Statistics::_calculate_primitives_number_by_mode(GLenum mode
|
||||
case GL_TRIANGLE_STRIP:
|
||||
case GL_TRIANGLE_FAN: return count - 2;
|
||||
case GL_QUADS: return count / 4;
|
||||
case GL_QUAD_STRIP: return count - 3;
|
||||
case GL_QUAD_STRIP: return count / 2 - 1;
|
||||
default: return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user