diff --git a/core/src/processing/opengl/PJOGL.java b/core/src/processing/opengl/PJOGL.java index 42d17a0c6..b1ff43677 100644 --- a/core/src/processing/opengl/PJOGL.java +++ b/core/src/processing/opengl/PJOGL.java @@ -1950,6 +1950,8 @@ public class PJOGL extends PGL { gl2x.glReadBuffer(buf); } else if (gl3 != null) { gl3.glReadBuffer(buf); + } else if (gl3es3 != null) { + gl3es3.glReadBuffer(buf); } else { throw new RuntimeException(String.format(MISSING_GLFUNC_ERROR, "glReadBuffer()")); }