It's pretty hard to say without more details. I would start out by making sure that you have a valid rendering context. Disable your regular rendering and do a hello world type of rendering such as a single triangle.

Leigh

On 6/23/2010 5:05 PM, satlan esh wrote:
I have an OpenGL app that manipulates it's geometry in screen space to
acheive some effects, and therefore bypasses OpenGL's matrices by
setting modelview and projection to identity. For some reason,
Android's OpenGL implementation seems to be unhappy with this, and
doesn't draw anything.

The same app, compiled from the same code base, works fine on windows
and on iPhone. If I load the app's projection matrix into GL's matrix,
and multiply it's inverse with the final geometry prior to drawing it
(which is effectively a no-op) it displays correctly.

App is native and OpenGL is 1.x if it matters.

Any ideas why is that so?


--
Leigh McRae
www.lonedwarfgames.com

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