opengl extension?

can anyone please teach me how to use opengl extension? And i would like to know should i include any header file in order to use PFNGLNEWBUFFERREGION & PFNGLBUFFERREGIONENABLED because compiler said undefined type. please help

the header file you’re looking for is glext.h
if you’re compiling under windows, maybe you’ll also need wglext.h
How to find them has already been discussed here : just perform a search.

You can find gl extension headers files at SGI’s website:

GL Header Extensions

  • VC6-OGL