Check this tutorial http://developer.android.com/intl/zh-CN/resources/tutorials/opengl/opengl-es10.html
In addition there is class RectF. And it is a bad idea to allocate objects in render method. Do you have calls to GLSurfaceView.onPause and GLSurfaceView.onResume in your Activty's onPause and onResume? On 21 янв, 10:25, Thomas Fjellstrom <tfjellst...@gmail.com> wrote: > I've started on a little toy app to get familiar with working with OpenGL > and Android, and I can't seem to get anything to display (other than the > initial screen clear). > > I've pasted the relevant code here:http://pastebin.com/SpLJBfJ8 > > I can't figure out what I'm doing wrong. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en