QUOTE]Originally posted by WonderingAboutTexture3D:
[b]The version of OpenGL I am using on my laptop is supposed to version 1.2 that ships with windows NT/2000 since I have Windows XP.
When I use glGetString(GL_VERSION) it
returns “1.2.2” <<----I mean “1.2.1”
The problem:
a) There is no glTexImage3D(…), even though it is a part of the specs for version 1.2
That should help you avoid the unresolved external issue. Your glext.h file might already define “PFNGLTEXIMAGE3DPROC,” if you got the file from your video card manufacturer. The one I have from NVidia defines function pointer typedefs like that for all the extensions available on the card.
The problem is not that the driver is missing your function. It’s the import library you’re likning to that’s missing the function.
The import library you link to, Microsofts software implementation, is stuck at OpenGL 1.1. To access functions in OpenGL 1.2 and later, aswell as extensions, you must load the functions manually from the driver, instead of letting the import library do it for you. To load the functions yourself, do as Citizen Thomas said.
>>The version of OpenGL I am using on my laptop is supposed to version 1.2 that ships with windows NT/2000 since I have Windows XP.<<
first get new drivers
second it should be there
(i only know about nvidia cards)
(3dtextures were the odd man out btw)
anyways the extension mightnt be in the extension string but if the glstring version saiz 1.2+ u should be able to ‘get it’ nonetheless (itll be done in software though)
The method is not returned in glGetString(GL_EXTENSION), using wglGetProcAddress returns NULL, using GetProcAddress with the HMODULE returns NULL, and yet glGetString(GL_VERSION) returns 1.2.1
the extentionstring dont have to return the texture3d extention because it’s maybe supported… nVidia uses that sematic for most new things in the 1.2 and 1.3 versions of gl, that is if it’s not reported as an Extention, but its there anyway (required core features) then it’s not HW accelerated.
And you cant get functions for newer versions than 1.1 through the getProcAdress, but you can get them trough wglGetProcAdress