re-enabling clearing of alpha channel for offscreen surfaces

This commit is contained in:
codeanticode
2012-06-21 18:13:19 +00:00
parent 548e795cdf
commit 9ca0a4aa08
2 changed files with 0 additions and 4 deletions

View File

@@ -1632,7 +1632,6 @@ public class PGraphicsOpenGL extends PGraphics {
offscreenFramebufferMultisample.copy(offscreenFramebuffer);
}
/*
// Make the offscreen color buffer opaque so it doesn't show
// the background when drawn on the main surface.
if (offscreenMultisample) {
@@ -1646,7 +1645,6 @@ public class PGraphicsOpenGL extends PGraphics {
if (offscreenMultisample) {
popFramebuffer();
}
*/
if (!pgl.initialized || !pgPrimary.pgl.initialized || parent.frameCount == 0) {
// If the primary surface is re-initialized, this offscreen