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:
parent
dbd1eeed33
commit
319b1b3d22
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue