浏览代码

Fixed comment copy & paste fail

vurtun 9 年之前
父节点
当前提交
12d4ed0115
共有 2 个文件被更改,包括 2 次插入2 次删除
  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