summaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java')
-rw-r--r--src/java/com/jogamp/gluegen/package.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/java/com/jogamp/gluegen/package.html b/src/java/com/jogamp/gluegen/package.html
index f8a2e6d..449eb31 100644
--- a/src/java/com/jogamp/gluegen/package.html
+++ b/src/java/com/jogamp/gluegen/package.html
@@ -56,14 +56,13 @@
Runtime query is implemented as follows:
<pre>
typedef struct {
- _TYPE_ s0; // ensures start address alignment
char fill; // nibble one byte
// padding to align s1
_TYPE_ s1; //
} type_t;
- padding = sizeof(type_t) - 2 * sizeof(_TYPE_) - sizeof(char);
- alignment = sizeof(type_t) - 2 * sizeof(_TYPE_) ;
+ padding = sizeof(type_t) - sizeof(_TYPE_) - sizeof(char);
+ alignment = sizeof(type_t) - sizeof(_TYPE_) ;
</pre>
<table border="1">
<tr><th>type</th> <th colspan="2">32 bits</th><th colspan="2">64 bits</th></tr>