mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
Disable blend when rendering color buffer to screen
This commit is contained in:
@@ -557,6 +557,8 @@ public class PGL {
|
||||
|
||||
public void endOnscreenDraw(boolean clear0) {
|
||||
if (!clear0) {
|
||||
GLES20.glDisable(GLES20.GL_BLEND);
|
||||
|
||||
// We are in the primary surface, and no clear mode, this means that the current
|
||||
// contents of the front buffer needs to be used in the next frame as the background.
|
||||
GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, 0);
|
||||
|
||||
Reference in New Issue
Block a user