implemented some render state caching for d3d

This commit is contained in:
aap
2016-02-27 13:35:20 +01:00
parent 3902ab328e
commit 0c77e505f0
6 changed files with 155 additions and 32 deletions

View File

@@ -400,6 +400,7 @@ Geometry::generateTriangles(int8 *adc)
tri->v[1] = m->indices[j+1];
tri->v[2] = m->indices[j+2];
tri->matId = matid;
tri++;
}
adcbits += m->numIndices;
m++;