From be437dd2588544c13f59080c0c01f5823bdb2b13 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Fri, 28 Jul 2017 20:01:19 +0000 Subject: [PATCH] r_alias.c: change *AttrIndex into macros instead of static const vars. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1443 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/r_alias.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Quake/r_alias.c b/Quake/r_alias.c index 4de9c395..9580b864 100644 --- a/Quake/r_alias.c +++ b/Quake/r_alias.c @@ -79,11 +79,11 @@ static GLuint fullbrightTexLoc; static GLuint useFullbrightTexLoc; static GLuint useOverbrightLoc; -static const GLint pose1VertexAttrIndex = 0; -static const GLint pose1NormalAttrIndex = 1; -static const GLint pose2VertexAttrIndex = 2; -static const GLint pose2NormalAttrIndex = 3; -static const GLint texCoordsAttrIndex = 4; +#define pose1VertexAttrIndex 0 +#define pose1NormalAttrIndex 1 +#define pose2VertexAttrIndex 2 +#define pose2NormalAttrIndex 3 +#define texCoordsAttrIndex 4 /* =============