X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvideo%2Fomapdss%2Fomapsdl.h;h=3f15bb742409a2f7fc00ee9844d99980b8caf826;hb=0bb19c41766026c798f9c2aa9dc433a9403c8e39;hp=5e737823623bcee9ddd594006ab29a53d7b8aa21;hpb=b983f171bf57138ebcfce244b276bc9d22e63452;p=sdl_omap.git diff --git a/src/video/omapdss/omapsdl.h b/src/video/omapdss/omapsdl.h index 5e73782..3f15bb7 100644 --- a/src/video/omapdss/omapsdl.h +++ b/src/video/omapdss/omapsdl.h @@ -1,5 +1,5 @@ /* - * (C) Gražvydas "notaz" Ignotas, 2010 + * (C) Gražvydas "notaz" Ignotas, 2010, 2011 * * 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. @@ -32,7 +32,8 @@ struct SDL_PrivateVideoData { unsigned int xenv_up:1; }; -int osdl_video_set_mode(struct SDL_PrivateVideoData *pdata, int width, int height, int bpp); +int osdl_video_set_mode(struct SDL_PrivateVideoData *pdata, + 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); @@ -53,3 +54,4 @@ void do_clut(void *dest, void *src, unsigned short *pal, int count); /* config */ extern int gcfg_force_vsync; +extern int gcfg_force_doublebuf;