From 12d4ed01152f95feb688c4e53d2bf2290b5be98a Mon Sep 17 00:00:00 2001 From: vurtun Date: Sat, 30 Apr 2016 14:49:28 +0200 Subject: [PATCH] Fixed comment copy & paste fail --- demo/glfw_opengl2/main.c | 2 +- demo/glfw_opengl3/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/glfw_opengl2/main.c b/demo/glfw_opengl2/main.c index d0687e1e..da4b5f13 100644 --- a/demo/glfw_opengl2/main.c +++ b/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. */ diff --git a/demo/glfw_opengl3/main.c b/demo/glfw_opengl3/main.c index a9480c22..4107e499 100644 --- a/demo/glfw_opengl3/main.c +++ b/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