fix gr_update
This commit is contained in:
parent
b398c44758
commit
8f610fbca4
|
@ -1,5 +1,7 @@
|
||||||
2003-11-26 Bradley Bell <btb@icculus.org>
|
2003-11-26 Bradley Bell <btb@icculus.org>
|
||||||
|
|
||||||
|
* arch/sdl/gr.c: fix sdl gr_update
|
||||||
|
|
||||||
* 2d/font.c, VisualC/d2x/d2x.dsp, VisualCE/d2x/d2x.vcp,
|
* 2d/font.c, VisualC/d2x/d2x.dsp, VisualCE/d2x/d2x.vcp,
|
||||||
VisualCE/mveplayer/mveplayer.vcp, arch/win32/ipx_mcast4.c,
|
VisualCE/mveplayer/mveplayer.vcp, arch/win32/ipx_mcast4.c,
|
||||||
arch/win32/ipx_udp.c, arch/win32/ipx_win.c, arch/sdl/gr.c,
|
arch/win32/ipx_udp.c, arch/win32/ipx_win.c, arch/sdl/gr.c,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: gr.c,v 1.12 2003-11-26 12:39:00 btb Exp $ */
|
/* $Id: gr.c,v 1.13 2003-11-26 21:08:59 btb Exp $ */
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* SDL video functions.
|
* SDL video functions.
|
||||||
|
@ -128,12 +128,9 @@ void gr_update()
|
||||||
//end addition -MM
|
//end addition -MM
|
||||||
#ifdef LANDSCAPE
|
#ifdef LANDSCAPE
|
||||||
BlitRotatedSurface(screen, real_screen);
|
BlitRotatedSurface(screen, real_screen);
|
||||||
if ( (real_screen->flags & SDL_DOUBLEBUF) == SDL_DOUBLEBUF )
|
SDL_UpdateRect(real_screen, 0, 0, 0, 0);
|
||||||
SDL_Flip(real_screen);
|
|
||||||
else
|
|
||||||
SDL_UpdateRect(real_screen, 0, 0, 0, 0);
|
|
||||||
#else
|
#else
|
||||||
SDL_Flip(screen);
|
SDL_UpdateRect(screen, 0, 0, 0, 0);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue