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

  • Driver: NVIDIA 337.88 (latest)
    • OS: Windows 7 SP1 64bit
    • Li >

      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

    Popular posts from this blog

    ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

    Matlab transpose a table vector -

    c# - Textbox not clickable but editable -