Skip to content

Commit 9177860

Browse files
committed
Fall back to default frame buffer after render-to-texture
Signed-off-by: Umair Khan <[email protected]>
1 parent 7f45954 commit 9177860

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/in/omerjerk/processing/video/android/Capture.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,9 @@ public void run() {
294294
pixelBuffer.position(0);
295295
pixelBuffer.get(Capture.this.pixels);
296296
updatePixels();
297+
298+
//Fall back to default frame buffer
299+
GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, 0);
297300
}
298301
});
299302
}

0 commit comments

Comments
 (0)