src/video/android/SDL_androidgl.c
changeset 4710 aeac51289991
parent 4709 6dc26b9d8368
child 4711 ed040b480a9f
     1.1 --- a/src/video/android/SDL_androidgl.c	Fri Jun 18 01:29:14 2010 +1200
     1.2 +++ b/src/video/android/SDL_androidgl.c	Mon Jun 28 21:35:28 2010 +1200
     1.3 @@ -43,6 +43,7 @@
     1.4  */
     1.5  extern pthread_mutex_t mSDLRenderMutex;
     1.6  extern pthread_cond_t mSDLRenderCondition;
     1.7 +extern void sdl_render();
     1.8  
     1.9  /* GL functions */
    1.10  int Android_GL_LoadLibrary(_THIS, const char *path){
    1.11 @@ -89,12 +90,14 @@
    1.12  
    1.13  void Android_GL_SwapWindow(_THIS, SDL_Window * window){
    1.14  
    1.15 +/*
    1.16  	pthread_mutex_lock(&mSDLRenderMutex);
    1.17  	pthread_cond_wait(&mSDLRenderCondition, &mSDLRenderMutex);
    1.18  	pthread_mutex_unlock(&mSDLRenderMutex);
    1.19 -	
    1.20 +*/	
    1.21  	
    1.22  	//__android_log_print(ANDROID_LOG_INFO, "SDL", "[STUB] GL_SwapWindow\n");
    1.23 +	sdl_render();
    1.24  
    1.25  }
    1.26