[android-developers] Re: OpenGL glScissor not working on HTC phones
>I do not do a gl.glClear(GL10.GL_COLOR_BUFFER_BIT); so the bits that were drawn previously should remain.
Actually this isn't the default behavior.
I think you need to request EGL_BUFFER_PRESERVED for the
EGL_SWAP_BEHAVIOR.
Unfortunately this currently (froyo) isn't possible because Android
only supports EGL 1.0 + some extensions.
The eglSurfaceAttrib() API entry point was added at a later version of
EGL.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home