I have a problem concerning my game developping with opengl basic layout view.
I have created the game menu with layout (that's work), and the game part with Opengl(that's work too).
But when I want to pass from menu to game part, with
Using java Syntax Highlighting
- setContentView(mGLSurfaceView);
Parsed in 0.011 seconds, using GeSHi 1.0.8.4
I can't get the focus on my "GLSurfaceView" view.
I try
Using java Syntax Highlighting
- requestFocus() , setFocusableInTouchMode(true) , clearFocus() , requestFocusFromTouch()
Parsed in 0.010 seconds, using GeSHi 1.0.8.4
I have never succeed to obtain the focus to draw the game part.
Perhaps I don't use requestFocus() in the good place?
Thanks in advance,
Yassss