Perfomance fix: Don't call glFinish because it kills parallelism; Originally found by Shyotl Kuhr (Singularity)

Ansariel 2011-11-01 23:18:04 +01:00
parent b93d67119e
commit bae42f3918
1 changed files with 2 additions and 1 deletions

View File

@ -2908,7 +2908,8 @@ BOOL LLWindowWin32::resetDisplayResolution()
void LLWindowWin32::swapBuffers()
{
glFinish();
// Ansariel: Don't call glFinish - this kills parallelism!
//glFinish();
SwapBuffers(mhDC);
}