Tagged Questions
2
votes
1answer
171 views
Procedurally generating terrain in dead time before buffer swap
I'm using OpenGL/C++ in Windows, and my main loop looks like this:
GLboolean done = GL_FALSE;
auto_ptr l_world(new World);
l_world->Init();
while (!done) {
if ...
2
votes
2answers
821 views
Why is OpenGL using 100% CPU shortly after start up when wglSwapIntervalEXT is enabled?
I have a game which uses SFML, which in turn uses OpenGL.
When I run the game, it will use 100% CPU for (usually) about 24 seconds, and then immediately falls down to normal usage. I can't figure out ...