From d1d05fad3bc386127cd4270fe42a04069cdf6138 Mon Sep 17 00:00:00 2001
From: Ronald Kinard <furyhunter600@gmail.com>
Date: Sun, 8 Mar 2015 23:37:26 -0500
Subject: [PATCH] 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.
---
 src/hardware/r_opengl/r_opengl.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/hardware/r_opengl/r_opengl.c b/src/hardware/r_opengl/r_opengl.c
index fd5b8cafa7..c5b2dfa0d4 100644
--- a/src/hardware/r_opengl/r_opengl.c
+++ b/src/hardware/r_opengl/r_opengl.c
@@ -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);
-- 
GitLab