aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/util
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-03-02 23:33:41 +0100
committerSven Gothel <[email protected]>2023-03-02 23:33:41 +0100
commitc5e68482a747c6d0fef8a4b3fdb1fe098f81965d (patch)
tree4eaa68dbb91eee8fe71cc8c39252744050a71e64 /src/jogl/classes/com/jogamp/opengl/util
parenta1f22eaf5707a287692fd56d46abe4fff4910f75 (diff)
GLProfile.isValidArrayDataType() add missing accepted types for ES3/GL3+ but dropping its usage (GLArrayDataWrapper validation)
Skip GLProfile based index, comps, type validation, might not be future proof.
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/util')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java b/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java
index c7253f5b4..13c3144fb 100644
--- a/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java
+++ b/src/jogl/classes/com/jogamp/opengl/util/GLArrayDataWrapper.java
@@ -168,7 +168,9 @@ public class GLArrayDataWrapper implements GLArrayData {
}
return false;
}
- return glp.isValidArrayDataType(getIndex(), getCompsPerElem(), getCompType(), isVertexAttribute(), throwException);
+ // Skip GLProfile based index, comps, type validation, might not be future proof.
+ // glp.isValidArrayDataType(getIndex(), getCompsPerElem(), getCompType(), isVertexAttribute(), throwException);
+ return true;
}
@Override