validate framebuffer only at init in android, new offscreen implementation that properly solves the fickering problem (commented out for now to finish later), some todo notes

This commit is contained in:
codeanticode
2012-09-03 13:48:34 +00:00
parent 72573da4d7
commit 4bf7bc727b
4 changed files with 85 additions and 7 deletions

View File

@@ -1747,6 +1747,7 @@ public class PGraphicsOpenGL extends PGraphics {
pgl.endOnscreenDraw(clearColorBuffer0);
if (!pgl.initialized || parent.frameCount == 0) {
// TODO: check this code and see if should go before endOnscreenDraw
// Smooth was called at some point during drawing. We save
// the current contents of the back buffer (because the
// buffers haven't been swapped yet) to the pixels array.