diff src/video/android/SDL_androidgl.c @ 4722:faa228f7ce5b

- Cleaned up a bunch of code - Added 'feature' enable/disable so we're not running accel/sound/whatever in Java when we don't need to be - More work on the sound system. But it still crashes pretty horribly, not sure why yet.
author Paul Hunkin <paul@bieh.net>
date Tue, 27 Jul 2010 21:21:24 +0200
parents ed040b480a9f
children 16fec41375a6
line wrap: on
line diff
--- a/src/video/android/SDL_androidgl.c	Tue Jul 27 21:20:17 2010 +0200
+++ b/src/video/android/SDL_androidgl.c	Tue Jul 27 21:21:24 2010 +0200
@@ -41,8 +41,8 @@
 /*
 These things are in the JNI android support
 */
-extern void sdl_create_context();
-extern void sdl_render();
+extern void Android_CreateContext();
+extern void Android_Render();
 
 /* GL functions */
 int Android_GL_LoadLibrary(_THIS, const char *path){
@@ -67,7 +67,7 @@
 */
 
 SDL_GLContext Android_GL_CreateContext(_THIS, SDL_Window * window){
-	sdl_create_context();
+	Android_CreateContext();
 	return 1;
 }
 
@@ -88,7 +88,7 @@
 }
 
 void Android_GL_SwapWindow(_THIS, SDL_Window * window){
-	sdl_render();
+	Android_Render();
 }
 
 void Android_GL_DeleteContext(_THIS, SDL_GLContext context){