diff src/video/android/SDL_androidvideo.h @ 4981:55b82067815b

Fill in the video mode with the correct screen format
author Sam Lantinga <slouken@libsdl.org>
date Wed, 12 Jan 2011 14:29:01 -0800
parents d40bb3165d2b
children a514bfe6952a
line wrap: on
line diff
--- a/src/video/android/SDL_androidvideo.h	Wed Jan 12 13:52:41 2011 -0800
+++ b/src/video/android/SDL_androidvideo.h	Wed Jan 12 14:29:01 2011 -0800
@@ -26,6 +26,9 @@
 
 #include "../SDL_sysvideo.h"
 
-#endif /* _SDL_ndsvideo_h */
+/* Called by the JNI layer when the screen changes size or format */
+extern void Android_SetScreenResolution(int width, int height, Uint32 format);
+
+#endif /* _SDL_androidvideo_h */
 
 /* vi: set ts=4 sw=4 expandtab: */