Skip to content

Commit a993804

Browse files
committed
draw/readBuffer are available in GL 2.0 and higher on desktop
1 parent ab1fd33 commit a993804

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/processing/opengl/PGL.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2193,7 +2193,7 @@ protected boolean hasReadBuffer() {
21932193
if (isES()) {
21942194
return version[0] >= 3;
21952195
}
2196-
return version[0] > 2;
2196+
return version[0] >= 2;
21972197
}
21982198

21992199

@@ -2202,7 +2202,7 @@ protected boolean hasDrawBuffer() {
22022202
if (isES()) {
22032203
return version[0] >= 3;
22042204
}
2205-
return version[0] > 2;
2205+
return version[0] >= 2;
22062206
}
22072207

22082208

0 commit comments

Comments
 (0)