X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvideo%2Fomapdss%2Fomapsdl.h;h=12a6f6e49346aa7dd285bdd3dfec0d51078fa1a3;hb=0c7caf2be89c7285aed60c5cb7a5ace9776033ab;hp=d6314d6f42abd28881917da0b7bbfdb0e9ae2d8b;hpb=455c8c43b353b60ebbb70caa09ae87be49520838;p=sdl_omap.git diff --git a/src/video/omapdss/omapsdl.h b/src/video/omapdss/omapsdl.h index d6314d6..12a6f6e 100644 --- a/src/video/omapdss/omapsdl.h +++ b/src/video/omapdss/omapsdl.h @@ -1,5 +1,5 @@ /* - * (C) Gražvydas "notaz" Ignotas, 2010, 2011 + * (C) Gražvydas "notaz" Ignotas, 2010-2012 * * This work is licensed under the terms of the GNU LGPL, version 2.1 or later. * See the COPYING file in the top-level directory. @@ -38,6 +38,7 @@ struct SDL_PrivateVideoData { int ts_xmul, ts_ymul; /* misc/config */ unsigned int xenv_up:1; + unsigned int app_uses_flip:1; unsigned int cfg_force_vsync:1; unsigned int cfg_force_doublebuf:1; unsigned int cfg_no_ts_translate:1; @@ -45,7 +46,7 @@ struct SDL_PrivateVideoData { void *osdl_video_set_mode(struct SDL_PrivateVideoData *pdata, int border_l, int border_r, int border_t, int border_b, - int width, int height, int bpp, int doublebuf); + int width, int height, int bpp, int *doublebuf); void *osdl_video_flip(struct SDL_PrivateVideoData *pdata); int osdl_video_detect_screen(struct SDL_PrivateVideoData *pdata); void osdl_video_finish(struct SDL_PrivateVideoData *pdata);