Sorry Romain, should have said in the original post. I'm using an emulator with Android 2.2.
Does the emulator support OpenGL ES 2.0? On Jun 15, 9:01 am, Romain Guy <[email protected]> wrote: > On what phone/AVD are you trying this? Not all devices supportOpenGLES2.0. > > > > On Sat, Jun 12, 2010 at 2:50 AM, Skute <[email protected]> wrote: > > When I add the following line to my GLSurfaceView class I get an > > IllegalArgumentException from some random place. I don't know where > > the problem is because it doesn't give a stack trace. > > > setEGLContextClientVersion(2); > > > What else do I need to do to get anOpenGLES2.0application to work? > > > I have tested this with a completely empty renderer class (and also > > put breakpoints on every callback, and none of them get hit, > > indicating that the error occurs before my renderer even gets > > involved). > > > Does anyone have a complete working example of how to get started with > > AndroidOpenGLES2.0development? > > > [There is also a stackoverflow entry here -> > >http://stackoverflow.com/questions/3026368/illegalargumentexception-w...] > > > -- > > 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 > > -- > Romain Guy > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time > to provide private support. All such questions should be posted on > public forums, where I and others can see and answer them -- 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

