Author Topic: Strange behaviour without clear...  (Read 2257 times)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Strange behaviour without clear...
« 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?