1

Why doesn't onSurfaceCreated ever run in this code?

view story
linux-howto

http://stackoverflow.com – I create my game element this way in my activity: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mGame = new Game(this); mGame.bootstrap(); setContentView(CommonObject.sCommonParams.touch); mGame.loadTextures(); } Then in my bootstrap I create my GLsurfaceView this way: (callingActivity is the this I passed when I created mGame) CommonObject.sCommonParams.openGLView = new GLSurfaceView(callingActivity); CommonObject.sCommonParams.openGLView.setRenderer(new GameRenderer()); CommonObject.sCommonParams.openGLView.setRenderMode(GLSurfaceView.REN (HowTos)