summaryrefslogtreecommitdiffstats
path: root/make/config/jogl/gl-impl-CustomJavaCode-common.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-07-15 14:35:02 +0200
committerSven Gothel <[email protected]>2023-07-15 14:35:02 +0200
commitbe9c3e42e618148584689a1ccf30c8c3f4e6227a (patch)
tree6daa57deb2ba89640c44da0a75bcada528c04570 /make/config/jogl/gl-impl-CustomJavaCode-common.java
parentddbffc38f001e3297d560ab1f6b3e7575771bdc5 (diff)
Add {GL, GLContext}.getDefaultDrawBuffer() to complement getDefaultReadBuffer()
Diffstat (limited to 'make/config/jogl/gl-impl-CustomJavaCode-common.java')
-rw-r--r--make/config/jogl/gl-impl-CustomJavaCode-common.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-common.java b/make/config/jogl/gl-impl-CustomJavaCode-common.java
index b764191e2..b1500adcf 100644
--- a/make/config/jogl/gl-impl-CustomJavaCode-common.java
+++ b/make/config/jogl/gl-impl-CustomJavaCode-common.java
@@ -124,6 +124,11 @@
}
@Override
+ public final int getDefaultDrawBuffer() {
+ return _context.getDefaultDrawBuffer();
+ }
+
+ @Override
public final int getDefaultReadBuffer() {
return _context.getDefaultReadBuffer();
}