Calling SDL_Flip() twice in a row certainly does not improve performance
This commit is contained in:
@@ -289,7 +289,6 @@ static void sdlShadowUpdate (ScreenPtr pScreen, shadowBufPtr pBuf)
|
|||||||
//printf("SDL_UpdateRects %d\n", amount);
|
//printf("SDL_UpdateRects %d\n", amount);
|
||||||
SDL_UpdateRects(driver->screen, amount, updateRects);
|
SDL_UpdateRects(driver->screen, amount, updateRects);
|
||||||
}
|
}
|
||||||
SDL_Flip(driver->screen);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user