Generating a source code with a fixed size leads to issues with plattform dependent types. We either hard code 4 or 8 bytes there, and both are wrong on the other plattform. So this patch solves this issue by generating eg sizeof(GLsizeiptr), which is valid both on 32 and on 64 bit plattforms. Signed-off-by: Marek Olšák <marek.olsak@amd.com> |
||
|---|---|---|
| .. | ||
| es1api | ||
| es2api | ||
| glapi | ||
| new | ||
| shared-glapi | ||
| Android.mk | ||
| entry.c | ||
| entry.h | ||
| entry_ppc64le_tls.h | ||
| entry_ppc64le_tsd.h | ||
| entry_x86-64_tls.h | ||
| entry_x86_tls.h | ||
| entry_x86_tsd.h | ||
| Makefile.sources | ||
| mapi_abi.py | ||
| mapi_glapi.c | ||
| mapi_tmp.h | ||
| meson.build | ||
| stub.c | ||
| stub.h | ||
| table.c | ||
| table.h | ||
| u_current.c | ||
| u_current.h | ||
| u_execmem.c | ||
| u_execmem.h | ||