c++ - OpenGL 4.4 rendering just white screen -
I'm trying to create a OpenGL 4.4 Windows application. That I'm receiving pointers to use wglGetProcAddress manually; I.e. not using GLEW, GLEE or FreeGLUT . The code is prepared correctly, but I get white screen and nothing else, that is, the triangle is not drawn on the screen. : NVIDIA GTX 750 Ti Here is the Visual Studio Project file: It seems that you never Do not call setdata () function in your program How can you get any results on the screen In your Win32_Window.cpp :
... ShowWindow (hWnd, nCmdShow); UpdateWindow (hWnd); SetupPixelFormat (); InitGL (); SetData (); // Add this line to set data for VAO and VBO
Comments
Post a Comment