From: Diederick C. N. <dc...@gm...> - 2013-03-17 09:58:05
|
Hi All, Sylvain, On Sun, Apr 1, 2012 at 7:50 AM, Diederick C. Niehorster <dc...@gm...> wrote: > Too bad we need to use glshort for index functions, its a limit that > might be just too low for some, admittedly, somewhat extreme usage > case, but soit for now Wanted to get back to this. We're now using GLushort to store vertex indices for objects that are generated on demand (sphere's, cylinders). This is for OpenGL ES 1, where GLuint is not available. I would like to only use GLushort when its actually necessary. Would testing for GLuint availability work from CMake, just like it does for types that depend on the compiler (e.g., unsigned long long), not on the opengl version/headers we'll build against. A google didn't turn anything up for me.. Best and thanks for any tips, Dee |