Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

[Qt5.1 beta] OpenGL, white screen

$
0
0
Hi ! I am a complete beginner in OpenGL (Windows x64) I used this example from KDAB : http://www.kdab.com/opengl-in-qt-5-1-part-1/ The code is exactly the same, except a dynamic_cast on this line: m_funcs = m_context->versionFunctions() And whatever I do, I get a white window. A m_funcs->glClearColor(0.0f, 0.0f, 0.0f, 1.0f) is expected to show a black background, isn’t it ? It’s always a white background, nothing is displayed. I also tested with a OpenGL 3.3 context. My drivers are updated, there must be something I did not understand … (sorry, my English must be deplorable) Thanks !

Viewing all articles
Browse latest Browse all 18427

Trending Articles