We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61a41b0 commit 8d4a394Copy full SHA for 8d4a394
core/src/processing/opengl/PGL.java
@@ -894,6 +894,8 @@ private void createFBOLayer() {
894
clearColor(r, g, b, a);
895
clear(DEPTH_BUFFER_BIT | STENCIL_BUFFER_BIT | COLOR_BUFFER_BIT);
896
897
+ bindFramebufferImpl(FRAMEBUFFER, 0);
898
+
899
if (0 < pg.parent.frameCount) {
900
// Copy the contents of the front and back screen buffers to the textures
901
// of the FBO, so they are properly initialized.
@@ -914,8 +916,6 @@ private void createFBOLayer() {
914
916
COLOR_BUFFER_BIT, NEAREST);
915
917
}
918
- bindFramebufferImpl(FRAMEBUFFER, 0);
-
919
fboLayerCreated = true;
920
921
0 commit comments