how to use sdl gui (SDL_SetVideoMode,....) in android? -
i planning use sdl library in order render video streaming in android screen . started cross compiling sdl library android ics version.
then created small jni file put 2 instructions in method:
sdl_surface *screen; logi("screen"); screen = sdl_setvideomode(320, 240, 0, 0);
but no matter values put in sdl_setvideomode(,,,) segmentation fault (segv 11 code=1).
i wonder right way render sdl gui in android screen?
i stuck , dont know how bypass error!!
i thankfull if me!!!
Comments
Post a Comment