2d sprites and opengl

which .lib or .h file or .dll do I use to get the following command line to compile properly.

I’d guess the GLH library:

well I tried glhlib.h and glhlib.lib.no luck.

Point folks to where you’re getting this source and perhaps someone can provide a better suggestion.

well I am following a articles called “Rendering efficient 2d sprites in opengl using texture rectangles” I got this on the gamedev.net web site.

From the tutorial text:

But you can check for this extension any one of a number of ways, including an extension loader lib (such as GLEW), or just check yourself (see the last two sections on this wiki page:


It’s easy. Nowadays you probably want to use GL_ARB_texture_rectangle instead of GL_NV_texture_rectangle anyway.