[SDL] Are there any working SDL Android examples?

Manuel Massing m.massing at warped-space.de
Mon Jul 25 10:28:21 PDT 2011


William,

first thing you should try is to disable OpenGL ES 2.0
support in SDL_config_android.h (#undef SDL_VIDEO_RENDER_OGL_ES2)
and rebuild SDL.

From the log it is clear that SDL tries to initialize an OpenGL ES 2.0
context, although the unpatched android/SDL glue code is only
capable of correctly initializing OpenGL ES 1.1, probably resulting
in a mismatching renderer or invalid GL context.

good luck,

	Manuel



More information about the SDL mailing list