Strange behaviour without clear...

Started by EgonOlsen, May 25, 2010, 07:09:39 AM

Previous topic - Next topic

EgonOlsen

I've noticed a strange behaviour (seems to be a driver problem) on my phone (Galaxy, Android 1.5). When omitting the call to FrameBuffer.clear() in the onDrawFrame()-method, the rendering is wrong. It somehow shrinks the screen in Y-direction and renders multiple frames into one framebuffer (which was to be expected) but not on top of each other but one below the other (That's just wrong...). I can only avoid this by doing at least a glClear(...) on the frame buffer (the z-buffer alone doesn't cut it).

It's not much of a problem, but a little weird anyway. Can anybody reproduce this problem?