In the sdlsurface java class there’s a function to get the nativesurface
public Surface getNativeSurface() {
Log.v("TAG", "SDLSurface getNativeSurface()");
return getHolder().getSurface();
}
that just returns the opengl surface that’s being used on android side.
Is there a possibility that we can add a function to pass in a handle to a
surface that SDL can configure?
I am having some trouble with the function:
protected static class SDLCommandHandler extends Handler{…
because it’s looking for an activity but I am not calling the SDLMain
thread from an activity.