diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-01-23 12:27:10 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-01-23 12:27:10 +0000 |
commit | d150e6a2e677a49813fdd5422b14ebdc59a904e9 (patch) | |
tree | 757e7aac4ed5dd8682812664b1347b065187fa8f /progs/trivial/vbo-drawelements.c | |
parent | 4558f6a7e4bb8757431bd6905be53aef4246bcdd (diff) |
glut: Do not rely on GLAPIENTRY symbol.
GLEW does some defining/undefining of GLAPIENTRY making it unreliable. GLEW
should also be fixed, but removing the dependency on this symbol.
This also restores the ability for GLUT to be used with -fvisibility=hidden.
The downside of this is that ld warns of:
Warning: size of symbol `glutBitmapXXXXX' changed from 4 in glut_xxx.o to 16 in glut_xxxx.o
Due to the fonts being declared void * (*4 bytes), but defined as 16byte static
structure. I'll fix that in a later commit.
See also commits:
- f321f16e83cae427d6496c11955fd1c898d0395c
- d084982240bafba0169c4a6cacf02d45d6cfd8c1
Diffstat (limited to 'progs/trivial/vbo-drawelements.c')
0 files changed, 0 insertions, 0 deletions