Stephen Hill преди 10 години
родител
ревизия
3c6f585d1b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/renderer_gl.cpp

+ 1 - 1
src/renderer_gl.cpp

@@ -1403,7 +1403,7 @@ namespace bgfx { namespace gl
 				{
 				{
 					GLint numExtensions = 0;
 					GLint numExtensions = 0;
 					glGetIntegerv(GL_NUM_EXTENSIONS, &numExtensions);
 					glGetIntegerv(GL_NUM_EXTENSIONS, &numExtensions);
-					glGetError(); // ignore error if glGetString returns NULL.
+					glGetError(); // ignore error if glGetIntegerv returns NULL.
 
 
 					for (GLint index = 0; index < numExtensions; ++index)
 					for (GLint index = 0; index < numExtensions; ++index)
 					{
 					{