SFML community forums
Help => Graphics => Topic started by: ronag on September 20, 2010, 09:54:01 pm
-
I'm using SMFL to do some gpgpu computing... which doesnt require a window however a ogl context is still needed.
In what ways can I run OpenGL SFML with no or someway hidden window?
-
With SFML there's always an OpenGL context activated in the main thread, you don't have to do anything.
-
And if the main is unavailable... how do I add an ogl context to a new thread without creating a window?
-
sf::Context context;
-
Thanks. Almost there.
One last problem. How do I swap buffers using the context? It seems to create a dummy window in the background. However it is a private member and I cannot call Display on it.
-
EDIT: Solved, I'm just overthinking things.
Thanks for the help.