View Full Version : Version of opengl32.lib
I want to use glDrawRangeElements in my program. I am using winXP and MS Dev. I am linking the opengl.lib from the MS Dev installation, but this version doesn't know glDrawRangeElements. Where can i get a newer version of the opengl-lib??
06-01-2002, 06:00 AM
You should be linking to opengl32.lib for a start.
I've never used drawrangeelements, but I think it's a 1.2 extension (MS stopped updating win32 opengl at 1.1, I believe) - could be wrong. You need to use wglGetProcAddress to get a pointer to the function.
06-01-2002, 10:19 AM
That is a 1.2 function. glDrawElements was in 1.1
glext.h is needed (developer.nvidia.com and http://www.ati.com/developer)
06-01-2002, 01:15 PM
Get glext.h, wglext.h and others headers from official OpenGL extension registry at http://oss.sgi.com/projects/ogl-sample/registry/ .
All extensions declarations are in this file.
[This message has been edited by mproso (edited 06-02-2002).]
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.