Mercurial > sdl-ios-xcode
comparison src/video/android/SDL_androidgl.c @ 4980:d9fdff945ec9
A bit of cleanup in the Android driver
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 12 Jan 2011 13:52:41 -0800 |
parents | 16fec41375a6 |
children | 58b6bb4a45e9 |
comparison
equal
deleted
inserted
replaced
4979:be4ba07d9867 | 4980:d9fdff945ec9 |
---|---|
19 Sam Lantinga | 19 Sam Lantinga |
20 slouken@libsdl.org | 20 slouken@libsdl.org |
21 */ | 21 */ |
22 #include "SDL_config.h" | 22 #include "SDL_config.h" |
23 | 23 |
24 /* Android SDL video driver implementation | 24 /* Android SDL video driver implementation */ |
25 */ | |
26 | 25 |
27 #include "SDL_video.h" | 26 #include "SDL_video.h" |
28 #include "SDL_mouse.h" | |
29 #include "../SDL_sysvideo.h" | |
30 #include "../SDL_pixels_c.h" | |
31 #include "../../events/SDL_events_c.h" | |
32 | 27 |
33 #include "SDL_androidvideo.h" | 28 #include "SDL_androidvideo.h" |
34 #include "SDL_androidevents.h" | |
35 | 29 |
36 #include <android/log.h> | 30 #include <android/log.h> |
37 | 31 |
38 #include <pthread.h> | 32 #include <pthread.h> |
39 | 33 |
55 } | 49 } |
56 | 50 |
57 void Android_GL_UnloadLibrary(_THIS){ | 51 void Android_GL_UnloadLibrary(_THIS){ |
58 __android_log_print(ANDROID_LOG_INFO, "SDL", "[STUB] GL_UnloadLibrary\n"); | 52 __android_log_print(ANDROID_LOG_INFO, "SDL", "[STUB] GL_UnloadLibrary\n"); |
59 } | 53 } |
60 | |
61 /* | |
62 int *Android_GL_GetVisual(_THIS, Display * display, int screen){ | |
63 __android_log_print(ANDROID_LOG_INFO, "SDL","[STUB] GL_GetVisual\n"); | |
64 return 0; | |
65 } | |
66 */ | |
67 | 54 |
68 SDL_GLContext Android_GL_CreateContext(_THIS, SDL_Window * window){ | 55 SDL_GLContext Android_GL_CreateContext(_THIS, SDL_Window * window){ |
69 Android_CreateContext(); | 56 Android_CreateContext(); |
70 return 1; | 57 return 1; |
71 } | 58 } |