Nsight, Visual Studio Edition not working, OpenGL4.5, Windows10

Win10/VS2015/Simple OpenGL Sample

OpenGL Vendor:NVIDIA Corporation
Renderer:GeForce GTX 960M/PCIe/SSE2
OpenGL Version:4.5.0 NVIDIA 372.70

GL Context:
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 5);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);

When I press ‘pause and capture frame’, Nsight reports ‘It is undefined to draw without active program in core profile’.

How can I fix this problem?

Hi zhangenjie,

the functions shown above is to use glfwWindowHint to set all the required options for GLFW, you still need to do rendering.

Regards,
Letitia