VinceDeNice
07-11-2005, 07:42 AM
Hi,
I use OpenGL functions like glGenTexture or glBindTexture for a long time, but today something strange happends !!!
I've got a segmentation fault on this line:
glGenTextures(1, &Texture);...in which Texture is a GLuint, declared as follow in my .h file:
GLuint Texture;I never had a segmention fault caused by this line, and I didn't think this instruction could cause a segmentation fault...
Where this segmentation fault can come from ???
Thanks a lot,
Vinc.
I use OpenGL functions like glGenTexture or glBindTexture for a long time, but today something strange happends !!!
I've got a segmentation fault on this line:
glGenTextures(1, &Texture);...in which Texture is a GLuint, declared as follow in my .h file:
GLuint Texture;I never had a segmention fault caused by this line, and I didn't think this instruction could cause a segmentation fault...
Where this segmentation fault can come from ???
Thanks a lot,
Vinc.