| 1 | Simple C application to test the size of various types used by C, EGL, X. |
| 2 | |
| 3 | Output (on x86_64 CPU): |
| 4 | |
| 5 | ``` |
| 6 | $ make |
| 7 | $ ./egl_sizes_test |
| 8 | int size: 4 |
| 9 | unsigned int size: 4 |
| 10 | unsigned long size: 8 |
| 11 | EGLint size: 4 |
| 12 | EGLNativeDisplayType size: 8 |
| 13 | EGLNativePixmapType size: 8 |
| 14 | EGLNativeWindowType size: 8 |
| 15 | XID size: 8 |
| 16 | Pixmap size: 8 |
| 17 | Window size: 8 |
| 18 | ``` |
| 19 | |
| 20 | See castleinternalegl.pas for some comments why this is useful. |