1
Graphics / Clear() doesnt clear Depth Buffer
« on: February 09, 2010, 04:04:09 pm »
Hi,
I was just about to do some SFML/pure OpenGL mixing. Found out that RenderWindow->Clear() does not clear the depth buffer. Not surprising, because a depth buffer is not in use
However, if I create my RenderWindow using the ContextSettings, and I set DepthBits to some reasonable value, I would expect Clear() to clear it, too.
No big deal, though.
boogi
I was just about to do some SFML/pure OpenGL mixing. Found out that RenderWindow->Clear() does not clear the depth buffer. Not surprising, because a depth buffer is not in use
However, if I create my RenderWindow using the ContextSettings, and I set DepthBits to some reasonable value, I would expect Clear() to clear it, too.
No big deal, though.
boogi