Xlib_IDirectDrawSurface4Impl_Flip should show 'flipto' surface, not

previous one. (reported by Ove)
This commit is contained in:
Marcus Meissner 1999-05-17 14:52:05 +00:00 committed by Alexandre Julliard
parent 1ab8c680a2
commit 66f2aac4e3
1 changed files with 1 additions and 1 deletions

View File

@ -690,7 +690,7 @@ static HRESULT WINAPI Xlib_IDirectDrawSurface4Impl_Flip(
iflipto = This;
}
Xlib_copy_surface_on_screen(This);
Xlib_copy_surface_on_screen(iflipto);
if (iflipto->s.palette && iflipto->s.palette->cm) {
TSXSetWindowColormap(display,This->s.ddraw->d.drawable,iflipto->s.palette->cm);