glFlush != glFinish. doh.

master
Nyx (Neal Orman) 2011-01-13 13:46:00 -05:00
parent 8fae5d49bf
commit d1683bd65a
3 changed files with 3 additions and 3 deletions

View File

@ -1273,7 +1273,7 @@ BOOL LLWindowMacOSX::setSize(const LLCoordScreen size)
void LLWindowMacOSX::swapBuffers()
{
glFlush();
glFinish();
aglSwapBuffers(mContext);
}

View File

@ -985,7 +985,7 @@ void LLWindowSDL::swapBuffers()
{
if (mWindow)
{
glFlush();
glFinish();
SDL_GL_SwapBuffers();
}
}

View File

@ -2858,7 +2858,7 @@ BOOL LLWindowWin32::resetDisplayResolution()
void LLWindowWin32::swapBuffers()
{
glFlush();
glFinish();
SwapBuffers(mhDC);
}