Perfomance fix: Don't call glFinish because it kills parallelism; Originally found by Shyotl Kuhr (Singularity)
parent
b93d67119e
commit
bae42f3918
|
|
@ -2908,7 +2908,8 @@ BOOL LLWindowWin32::resetDisplayResolution()
|
|||
|
||||
void LLWindowWin32::swapBuffers()
|
||||
{
|
||||
glFinish();
|
||||
// Ansariel: Don't call glFinish - this kills parallelism!
|
||||
//glFinish();
|
||||
SwapBuffers(mhDC);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue