summaryrefslogtreecommitdiffstats
path: root/src/java/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-06-23 06:34:46 +0200
committerSven Gothel <[email protected]>2023-06-23 06:34:46 +0200
commit829d69ca42d2022790b136a5f689c34919a7c775 (patch)
tree17cacf616e8658ddf8ff51d89727f118ff72fddc /src/java/com
parent10842e888d1367475019f33bc651671453b31bd2 (diff)
GlueGen: JavaConfiguration.promoteTypeInfo(): Fix primitive pointerDepth, i.e. only pass numPointersStripped w/o adding info.pointerDepth()
Diffstat (limited to 'src/java/com')
-rw-r--r--src/java/com/jogamp/gluegen/JavaConfiguration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/gluegen/JavaConfiguration.java b/src/java/com/jogamp/gluegen/JavaConfiguration.java
index a6f2b6f..7208e97 100644
--- a/src/java/com/jogamp/gluegen/JavaConfiguration.java
+++ b/src/java/com/jogamp/gluegen/JavaConfiguration.java
@@ -497,7 +497,7 @@ public class JavaConfiguration {
else if (c == Double.TYPE) jt = JavaType.createForCDoublePointer();
if (jt != null)
- return new TypeInfo(info.name(), pd + numPointersStripped, jt);
+ return new TypeInfo(info.name(), numPointersStripped, jt);
}
while (diff > 0) {