Just found the official docs - I guess that is the string you have to
parse, according to this - 
http://www.khronos.org/opengles/sdk/1.1/docs/man/glGetString.xml

Is anyone keeping a running count of how many questions I ask and self-
answer in this group?  I should look for 5 minutes before asking next
time.

On Dec 19, 1:00 pm, Robert Green <[email protected]> wrote:
> You are totally right - VBOs are part of 1.1.
>
> G1 glGetString(GL10.GL_VERSION) = "OpenGL ES 1.0-CM"
> Droid glGetString(GL10.GL_VERSION) = "OpenGL ES 1.1-CM"
>
> So clearly I'm going to have to take this into consideration when
> evaluating if the system supports the feature.  My next question is -
> how do I get the gles version number?  This string is fine but doesn't
> it give us a number somewhere instead that we can use?  I'd rather do
> that than parse the number out of the string.
>
> I tried glGetIntegerv(GL10.GL_VERSION)  but it returned 0.
>
> On Dec 19, 12:19 am, Lance Nanek <[email protected]> wrote:
>
> > Could it have something to do with how vertex buffer objects are now
> > mandatory in OpenGL ES 1.1?
>
> > On Dec 18, 8:24 pm, Robert Green <[email protected]> wrote:
>
> > > I'm working with the Droid right now and what's funny about it is that
> > > it's the only device I have that doesn't report a VBO extension but
> > > the VBOs work perfectly on it so it clearly supports them.   Hmm...
>
> > > Normally I check the extensions for one that ends in
> > > "vertex_buffer_object" but that's not going to work here.  Is there a
> > > better way of knowing?

-- 
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