|
@@ -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
|