Yes of course,
int main()
{
sf::Window window(sf::VideoMode(800, 600), "SFML window", sf::Style::Default);
glewInit();
UINT l_id = glCreateProgram();
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.display();
}
glDeleteProgram(l_id);
return EXIT_SUCCESS;
}
Run this with:
http://www.gremedy.com/download.phpand you get:
Debug String: Detected error: The debugged process asked for an extension function pointer (glCreateProgram) from one render context, but called this function pointer in another render context (context #3)
SNIP...
Debug String: Detected error: The debugged process asked for an extension function pointer (glDeleteProgram) from one render context, but called this function pointer in another render context (context #2)