Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: NULL for glTexImage3D = (PFNGLTEXIMAGE3DPROC)wglGetProcAddress("glTexImage3DEXT");

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2002
    Location
    Houston, TX, USA
    Posts
    6

    NULL for glTexImage3D = (PFNGLTEXIMAGE3DPROC)wglGetProcAddress("glTexImage3DEXT");

    I get a NULL pointer to glTexImage3D after the GL win is open. I have OpenGl 1.2.1 from glGetString(GL_VERSION). Presumably this happens because my card/driver does not support it. How to get the right card/driver? On a Win NT 4.0 I have OpenGL 1.2.0 and a VolPro card. Is there any way to make the code work with that card?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    3,115

    Re: NULL for glTexImage3D = (PFNGLTEXIMAGE3DPROC)wglGetProcAddress("glTexImage3DEXT");

    Check whether or not the extension string (glGetString and GL_EXTENSIONS) contains GL_EXT_texture3D. If not, you can't load "glTexImage3DEXT". However, if you have OpenGL 1.2 or above, you should be able to load "glTexImage3D" instead.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •