SFML community forums
Help => Window => Topic started by: mercurio7891 on April 30, 2011, 09:19:43 pm
-
Is there anyway to set the sf::Context to be created to a specific opengl version?? For e.g 4.0 or maybe 2.1
regards
-
Nop. But you shouldn't need that, sf::Context creates a dummy context, not a context which is used for actual rendering.
-
if i try to load the 3.0 functions and above with glew within a sf::Context, it always fail. Hence I was wondering how to go about doing it.
sf::ThreadContext //stay alive for the duration of the thread
glewInit();
do some uploading of vbo, texture etc.
The actual render context is on another thread and is not exposed out
regards
-
I see. That's a valid point.
Task added:
https://github.com/SFML/SFML/issues/36