www.jpct.net

jPCT-AE - a 3d engine for Android => Bugs => Topic started by: EgonOlsen on May 25, 2010, 07:09:39 am

Title: Strange behaviour without clear...
Post by: EgonOlsen on May 25, 2010, 07:09:39 am
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?