Hi
anyone ever had a heapspace corruption with glfwOpenWindow I thought i was originally getting an error because of pointers but after debugging it happens when i call glfwOpenWindow any idea whats going wrong?
// Open an OpenGL window
if( !glfwOpenWindow( WIDTH,HEIGHT, 0,0,0,0,0,0, GLFW_WINDOW ) )
{
glfwTerminate();
exit( EXIT_FAILURE );
}
I get this error in the output window
HEAP: Free Heap block 4c7b58 modified at 4c7b80 after it was freed
Windows has triggered a breakpoint in test.exe
and then i get another error when i exit
My application will run fine other than this but its driving me nuts
heap space corruption glfwOpenWindow
You're writing over the bounds of a block of memory somewhere. Check all of your arrays, try commenting out bits of code til you find out what the offender is.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement