From 5a59fc7d94343a4e13f8db1385cfde414257e4e5 Mon Sep 17 00:00:00 2001 From: Gyusun Date: Sat, 5 Oct 2019 09:11:53 +0000 Subject: [PATCH] Generate Sources of master updated at Sat Oct 5 09:11:53 GMT 2019 --- src/glew.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/glew.c b/src/glew.c index b8a66b9..ed10bdb 100644 --- a/src/glew.c +++ b/src/glew.c @@ -17966,7 +17966,6 @@ static GLenum GLEWAPIENTRY glewContextInit () const GLubyte* s; GLuint dot; GLint major, minor; - size_t n; #ifdef _WIN32 getString = glGetString; @@ -18017,8 +18016,11 @@ static GLenum GLEWAPIENTRY glewContextInit () GLEW_VERSION_1_1 = GLEW_VERSION_1_2 == GL_TRUE || ( major == 1 && minor >= 1 ) ? GL_TRUE : GL_FALSE; } - for (n = 0; n < sizeof(_glewExtensionString) / sizeof(_glewExtensionString[0]); ++n) - _glewExtensionString[n] = GL_FALSE; + { + size_t i; + for (i = 0; i < sizeof(_glewExtensionString) / sizeof(_glewExtensionString[0]); ++i) + _glewExtensionString[i] = GL_FALSE; + } if (GLEW_VERSION_3_0) {