search for: currenttexunit

Displaying 1 result from an estimated 1 matches for "currenttexunit".

2006 Oct 12
0
Privates example? (fwd)
...i = w->indices + nIndices; @@ -3523,7 +3532,7 @@ } } w->vCount = nVertices; - w->indexCount = nIndices; + aw->indexCount = nIndices; } else { @@ -3542,7 +3551,7 @@ { int texUnit = w->texUnits; int currentTexUnit = 0; - int stride = 2 + texUnit * w->texCoordSize; + int stride = 2 + texUnit * aw->texCoordSize; GLfloat *vertices = w->vertices + (stride - 2); stride *= sizeof (GLfloat); @@ -3559,11 +3568,11 @@ glEnableClientState (GL_TEXTURE_COORD_ARR...