As the message suggests you're using a direct buffer to store you vertex and or texture co-ordinates. You need to use allocateDirect() instead. Even though you can do it the other way in 1.5 you shouldn't because it can cause random crashes
On Feb 3, 9:04 am, satish bhoyar <[email protected]> wrote: > Hi all, > > I have a code for GLSurfaceView which runs fine with sdk 1.5. I am trying to > use it in the sdk 2.0 I am getting following error - > > "*Application called a GL11 Pointer method with an Indirect Buffer*" > > This is the line at which the error is coming, > *gl.glVertexPointer(3, GL10.GL_FLOAT, 0, slicesBuffers[i]); > > *Please anybody explains me why this error comes & how to solve it? > > or any other suggestion is also good for me. > > Thanks, > SaT -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

