mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
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:
parent
fe7d19cc57
commit
d1d05fad3b
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue