   size of gl_extension strings  ...
  I recently sent a demo of my new game to some of my friends .. about 40 people 3 or 4 of them said that it doesn''t work at all. The demo makes some Log output into a file... So that I can when and maybe why the game crashes. The game crashed during initliaization process... some code<------- it stops somewhere hereconst unsigned char *glextension = glGetString( GL_EXTENSIONS );apLogEntry("Supported Extensions:\n %s\n\n\n",glextension);<------- void apLogEntry(const char *,...){int count;FILE *f;va_list varList;char buffer[1024];f=fopen("Log.txt", "at");va_start(varList, entry);count=vsprintf(buffer, entry, varList);fwrite(buffer,sizeof(char),count,f);fclose(f);}I guess some of the four people have GeForce 2 MX or GTS cards... But I am not sure whether all of the GF2 owners had, or wheter all of the people having problems are GF2 owners. The method above is a relic ... I haven''t found the time to rewrite it with ios streams,yet.But I think I will have to .. So what''s wrong ? At the moment I only had email contact to the people, having problems. And they donot have any programming experience so I have to make my own conclusions. Is the buffer to small? I mean longer than 1024 ?? I have an old Nvidia and my extension output is about 200 chars long...   
  A lot of newer cards have extension strings greater than 1024. Double the size (2048) and see if it works. If it does, that was your problem.    http://druidgames.cjb.net/;  Or switch to DirectX :p    Steve MacphersonHobby ProgrammerInterests: Direct3D, Stratagy games, FPS, Vodka  ;  Oops...Edited by - SteveMacpherson on May 21, 2001 8:00:06 PM  ;quote:Original post by SteveMacpherson  Or switch to DirectX :p wot and giveup being on the cutting edge of graphics technology check the source to glut (the glut_ext.c file) http://members.xoom.com/myBollux  