diff options
author | Sven Gothel <[email protected]> | 2023-03-02 23:33:41 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-03-02 23:33:41 +0100 |
commit | c5e68482a747c6d0fef8a4b3fdb1fe098f81965d (patch) | |
tree | 4eaa68dbb91eee8fe71cc8c39252744050a71e64 /src/jogl/classes/com/jogamp/opengl/util | |
parent | a1f22eaf5707a287692fd56d46abe4fff4910f75 (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.java | 4 |
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 |