PDA

View Full Version : Truncated GL_EXTENSIONS String



xenovore
09-19-2002, 11:26 AM
This is a strange one...

I'm attempting to read the extension string in with:

char *pString;
pString = (char *)glGetString(GL_EXTENSIONS);

This has worked flawlessly in the past, now it gets a string that's truncated at about 240 characters, with no \0 on the end to terminate the string.

I'm using the latest OpenGL 1.4, included in the NVidia 40.41 drivers.

Any ideas?