Penguin
Annotated edit history of SDL_Flip(3) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 SDL_Flip
2 !!!SDL_Flip
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 SEE ALSO
8 ----
9 !!NAME
10
11
12 SDL_Flip- Swaps screen buffers
13 !!SYNOPSIS
14
15
16 __#include __
17
18
19 __int SDL_Flip__(__SDL_Surface
20 *screen__);
21 !!DESCRIPTION
22
23
24 On hardware that supports double-buffering, this function
25 sets up a flip and returns. The hardware will wait for
26 vertical retrace, and then swap video buffers before the
27 next video surface blit or lock will return. On hardware
28 that doesn't support double-buffering, this is equivalent to
2 perry 29 calling ''SDL_!UpdateRect''__(screen, 0, 0, 0,
1 perry 30 0)__
31
32
33 The __SDL_DOUBLEBUF__ flag must have been passed to
2 perry 34 ''SDL_!SetVideoMode'', when setting the video mode for
1 perry 35 this function to perform hardware flipping.
36 !!RETURN VALUE
37
38
39 This function returns __0__ if successful, or __-1__
40 if there was an error.
41 !!SEE ALSO
42
43
2 perry 44 __SDL_!SetVideoMode__, __SDL_!UpdateRect__,
1 perry 45 __SDL_Surface__
46 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.