src/core/android/SDL_android.h
changeset 7659 ac4ce59c40e7
parent 7575 930f21eaacd7
child 7677 871d43c6968a
     1.1 --- a/src/core/android/SDL_android.h	Mon Aug 19 11:02:44 2013 -0400
     1.2 +++ b/src/core/android/SDL_android.h	Mon Aug 19 16:29:46 2013 -0300
     1.3 @@ -27,16 +27,20 @@
     1.4  /* *INDENT-ON* */
     1.5  #endif
     1.6  
     1.7 +#include <EGL/eglplatform.h>
     1.8 +#include <android/native_window_jni.h>
     1.9 +
    1.10  #include "SDL_rect.h"
    1.11  
    1.12  /* Interface from the SDL library into the Android Java activity */
    1.13 -extern SDL_bool Android_JNI_CreateContext(int majorVersion, int minorVersion, int red, int green, int blue, int alpha, int buffer, int depth, int stencil, int buffers, int samples);
    1.14 -extern SDL_bool Android_JNI_DeleteContext(void);
    1.15 +/*extern SDL_bool Android_JNI_CreateContext(int majorVersion, int minorVersion, int red, int green, int blue, int alpha, int buffer, int depth, int stencil, int buffers, int samples);
    1.16 +extern SDL_bool Android_JNI_DeleteContext(void);*/
    1.17  extern void Android_JNI_SwapWindow();
    1.18  extern void Android_JNI_SetActivityTitle(const char *title);
    1.19  extern SDL_bool Android_JNI_GetAccelerometerValues(float values[3]);
    1.20  extern void Android_JNI_ShowTextInput(SDL_Rect *inputRect);
    1.21  extern void Android_JNI_HideTextInput();
    1.22 +extern ANativeWindow* Android_JNI_GetNativeWindow(void);
    1.23  
    1.24  /* Audio support */
    1.25  extern int Android_JNI_OpenAudioDevice(int sampleRate, int is16Bit, int channelCount, int desiredBufferFrames);