Remove unused 'stride' variable in DrawPolygon.

This is an artifact of the last commit that I was using because I had
misunderstood the meaning of the stride argument for the array
pointers.
This commit is contained in:
Ronald Kinard 2015-03-08 23:37:26 -05:00
parent fe7d19cc57
commit d1d05fad3b

View file

@ -1340,7 +1340,6 @@ EXPORT void HWRAPI(DrawPolygon) (FSurfaceInfo *pSurf,
FUINT i;
FUINT j;
GLRGBAFloat c = {0,0,0,0};
FUINT stride;
if ((PolyFlags & PF_Corona) && (oglflags & GLF_NOZBUFREAD))
PolyFlags &= ~(PF_NoDepthTest|PF_Corona);
@ -1420,8 +1419,6 @@ EXPORT void HWRAPI(DrawPolygon) (FSurfaceInfo *pSurf,
if (PolyFlags & PF_MD2)
return;
stride = sizeof(FUINT) + sizeof(FLOAT) + sizeof(FLOAT);
pglEnableClientState(GL_VERTEX_ARRAY);
pglEnableClientState(GL_TEXTURE_COORD_ARRAY);
pglVertexPointer(3, GL_FLOAT, sizeof(FOutVector), &pOutVerts[0].x);