On Sat Jan 21, 2012, Alexander Mikhnin wrote: > Check this tutorial > http://developer.android.com/intl/zh-CN/resources/tutorials/opengl/opengl-e > s10.html > > In addition there is class RectF.
I bet it doesn't come with a render() mehod ;) This code is really just a proof of concept to get the GL bits working, then I move on to more complicated objects. > And it is a bad idea to allocate objects in render method. Good to know. I'll eventually switch to a scene-graph of sorts, so the allocation in the render method will go away. > Do you have calls to GLSurfaceView.onPause and GLSurfaceView.onResume > in your Activty's onPause and onResume? Yes I do. > 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. -- Thomas Fjellstrom tho...@fjellstrom.ca -- Thomas Fjellstrom tfjellst...@gmail.com -- 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