From 851aeddf7dfe3be02cc4e642ba6557b120474e47 Mon Sep 17 00:00:00 2001 From: codeanticode Date: Mon, 12 Oct 2015 16:59:42 +0100 Subject: [PATCH] draw/readBuffer are available in GL 2.0 and higher on desktop --- core/src/processing/opengl/PGL.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/processing/opengl/PGL.java b/core/src/processing/opengl/PGL.java index 29ef0a482..8f557f173 100644 --- a/core/src/processing/opengl/PGL.java +++ b/core/src/processing/opengl/PGL.java @@ -2193,7 +2193,7 @@ public abstract class PGL { if (isES()) { return version[0] >= 3; } - return version[0] > 2; + return version[0] >= 2; } @@ -2202,7 +2202,7 @@ public abstract class PGL { if (isES()) { return version[0] >= 3; } - return version[0] > 2; + return version[0] >= 2; }