   FBO problem
  I get this run-time error when trying to initialize my FBO:Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call.  This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.The compilation and linking process passes without any problems.I have checked my declaration and calling points and as far as I can see they match up. This function call is what causing the error:glGenFramebuffersEXT(1, &mID);And this is the declaration:PFNGLGENFRAMEBUFFERSEXTPROC glGenFramebuffersEXT = NULL;glGenFramebuffersEXT=(PFNGLGENFRAMEBUFFERSEXTPROC)wglGetProcAddress("glGenFramebuffersEXT");I suspect that I will get the same error for every FBO function. But it halts at the first error.Any help appreciated!   
  Does it work with GLee?   ;  Could be that your graphics card doesn't support FBO's. If you're confident it does then update your drivers to latest just in case ..Also I highly recommend using a library like GLEW for handling your extensions. The nice thing about GLEW in particular is that not only is it cross platform compatible but you can consult the library whether a particular version of GL is supported. This makes it easier to write fallbacks for advanced features which wont be supported by older GPU's.   ;  I am confident that my graphics card supports FBO's (I've had FBO's in older projects). Anyway… it works with glee so I must have done something wrong obviously. I can’t exactly figure out what though. Thanks everyone!   