Browse Source

Fixed comment copy & paste fail

vurtun 9 years ago
parent
commit
12d4ed0115
2 changed files with 2 additions and 2 deletions
  1. 1 1
      demo/glfw_opengl2/main.c
  2. 1 1
      demo/glfw_opengl3/main.c

+ 1 - 1
demo/glfw_opengl2/main.c

@@ -151,7 +151,7 @@ int main(void)
         glViewport(0, 0, width, height);
         glClear(GL_COLOR_BUFFER_BIT);
         glClearColor(bg[0], bg[1], bg[2], bg[3]);
-        /* IMPORTANT: `nk_sdl_render` modifies some global OpenGL state
+        /* IMPORTANT: `nk_glfw_render` modifies some global OpenGL state
          * with blending, scissor, face culling and depth test and defaults everything
          * back into a default state. Make sure to either save and restore or
          * reset your own state after drawing rendering the UI. */

+ 1 - 1
demo/glfw_opengl3/main.c

@@ -165,7 +165,7 @@ int main(void)
         glViewport(0, 0, width, height);
         glClear(GL_COLOR_BUFFER_BIT);
         glClearColor(bg[0], bg[1], bg[2], bg[3]);
-        /* IMPORTANT: `nk_sdl_render` modifies some global OpenGL state
+        /* IMPORTANT: `nk_glfw_render` modifies some global OpenGL state
          * with blending, scissor, face culling, depth test and viewport and
          * defaults everything back into a default state.
          * Make sure to either a.) save and restore or b.) reset your own state after