comparison src/video/android/SDL_androidgl.c @ 5207:daa5463466c5

Fixed building on Android, added SDL_opengles2.h, removed unnecessary SDL_glesfuncs.h
author Sam Lantinga <slouken@libsdl.org>
date Sun, 06 Feb 2011 02:35:14 -0800
parents 327f181542f1
children c66b2a778b7e
comparison
equal deleted inserted replaced
5206:25ffd4e5255c 5207:daa5463466c5
54 54
55 SDL_GLContext 55 SDL_GLContext
56 Android_GL_CreateContext(_THIS, SDL_Window * window) 56 Android_GL_CreateContext(_THIS, SDL_Window * window)
57 { 57 {
58 Android_JNI_CreateContext(); 58 Android_JNI_CreateContext();
59 return 1; 59 return (SDL_GLContext)1;
60 } 60 }
61 61
62 int 62 int
63 Android_GL_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context) 63 Android_GL_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context)
64 { 64 {