ecere; ide; compiler: Fixed some Clang warnings
[sdk] / ecere / src / gfx / 3D / Mesh.ec
index 14e660d..335ffe5 100644 (file)
@@ -122,7 +122,7 @@ public:
    bool Allocate(MeshFeatures what, int nVertices, DisplaySystem displaySystem)
    {
       bool result = false;
-      if((!nVertices || nVertices == nVertices) && (!this.displaySystem || this.displaySystem == displaySystem))
+      if((!nVertices || this.nVertices == nVertices) && (!this.displaySystem || this.displaySystem == displaySystem))
       {
          flags |= what;
          this.nVertices = nVertices;