Search code examples
c++openglwxwidgetsfedorawxglcanvas

wxglcanvas c++ fedora not showing


Currently working on a project using WxWidgets I want to use a wxGLCanvas unfortunately nothing is showing up.

I've installed a lot of packages on my Fedora (21) without any improvement, I've already installed the "standard" opengl package since I've another project using only opengl and it's working.

Does anyone have an idea of which package I need to use ?

Here is a list of all packages I've installed : http://pastebin.com/CNCs47X2

P.S. : It's working on a server under Ubuntu 10.04 . So I don't think it's a code problem. The code : http://pastebin.com/SU5R5HT9


Solution

  • I just added

    glFlush();

    before

    SwapBuffers();

    and it worked ...