On what phone/AVD are you trying this? Not all devices support OpenGL ES 2.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 an OpenGL ES 2.0 application 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
> Android OpenGL ES 2.0 development?
>
> [There is also a stackoverflow entry here ->
> http://stackoverflow.com/questions/3026368/illegalargumentexception-when-trying-to-run-an-opengl-es-2-0-application]
>
> --
> 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

Reply via email to