All OpenGL calls should be made from the callbacks in your class that implements the GLSurfaceView.Renderer interface http://developer.android.com/reference/android/opengl/GLSurfaceView.Renderer.html
Your drawing code should be in your onDrawFrame() implementation. On Tuesday, September 4, 2012 8:23:20 PM UTC+1, guich wrote: > > Reading in the web i found that only one context can be used in a > single thread. So, its not possible to use opengl outside the ui > thread. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

