[osg-users] Embed in SFML window, rendering problem

Cem Aydin cem.aydin at gmx.ch
Mon Oct 31 14:44:26 PDT 2016


Thanks for your reply.

The OpenMW example though is a bit complex for my current knowledge level and I really want to keep things simple for now.

However I found another example using SFML that is actually rendering fine.
en. sfml-dev. org/forums/index.php?topic=20866.0 (can't post link)

Ok, based on this example I just figured that replacing the sfml window call by:


    sf::Window window(sf::VideoMode(800, 600),
    //window.create(sf::VideoMode(800, 600), "My window");

fixes the rendering issue. I guess it might be sf::Style::Default.

Thanks anyway![/code]

Read this topic online here:

More information about the osg-users mailing list