View Full Version : GL_OUT_OF_MEMORY on gluBuild2DMipmaps()

06-21-2004, 06:22 AM
Any idea why I'm getting a GL_OUT_OF_MEMORY on a gluBuild2DMipmaps() call?

I was trying out the 3dsmax model loading tutorial at GameTutorials ( link http://www.gametutorials.com/Tutorials/OpenGL/OpenGL_Pg4.htm ). I copied the code into a simultaor I was writing and I was getting the error. One of the only differences I can think of is the program I'm writing is a windows console application, whereas the download is a windows application. Are console programs allocated less memory?

06-21-2004, 07:04 AM
Oops, figured it out. That's what happens when you attempt to load textures before initializing openGL/GLUT. ;)