aboutsummaryrefslogtreecommitdiff
path: root/include/ui/sdl2.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2015-01-09 09:27:09 +0100
committerGerd Hoffmann <kraxel@redhat.com>2015-01-19 13:33:26 +0100
commit877417d9ae6846bea4744b198131a5fe5117d7a5 (patch)
treefc448d083e2ae57d7d3b7d8e361a2b052fabd2f3 /include/ui/sdl2.h
parent7dd93291cad743e83e972a323a5775ff5a954bd5 (diff)
ui/sdl2: Support shared surface for more pixman formats
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui/sdl2.h')
-rw-r--r--include/ui/sdl2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ui/sdl2.h b/include/ui/sdl2.h
index f56c596e31..51fff2e9b8 100644
--- a/include/ui/sdl2.h
+++ b/include/ui/sdl2.h
@@ -28,5 +28,7 @@ void sdl2_2d_switch(DisplayChangeListener *dcl,
DisplaySurface *new_surface);
void sdl2_2d_refresh(DisplayChangeListener *dcl);
void sdl2_2d_redraw(struct sdl2_console *scon);
+bool sdl2_2d_check_format(DisplayChangeListener *dcl,
+ pixman_format_code_t format);
#endif /* SDL2_H */