GRIM: Silence GCC warning

Though it seems a bit consistent that _numFaces is signed here, and
unsigned in other classes.
This commit is contained in:
Torbjörn Andersson 2021-10-02 14:19:47 +02:00
parent dbd1eeed33
commit 319b1b3d22

View file

@ -538,7 +538,7 @@ void GfxOpenGLS::getScreenBoundingBox(const Mesh *model, int *x1, int *y1, int *
Math::Vector3d obj;
float *pVertices = nullptr;
for (uint i = 0; i < model->_numFaces; i++) {
for (int i = 0; i < model->_numFaces; i++) {
for (int j = 0; j < model->_faces[i].getNumVertices(); j++) {
pVertices = model->_vertices + 3 * model->_faces[i].getVertex(j);