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 4 of 4

Thread: glBindImageTexture

  1. #1
    Intern Contributor
    Join Date
    Oct 2012
    Posts
    53

    glBindImageTexture

    Hi

    I seem to be getting this error in my code. I know my graphics card is good for opengl version 4.3 . So what am I missing here?

    error C3861: 'glBindImageTexture': identifier not found

    GLuint myid;

    glBindImageTexture(0, myid,0,GL_FALSE,0,GL_READ_WRITE,GL_RGBA32F);

    thank you

  2. #2
    Member Regular Contributor
    Join Date
    Jun 2013
    Posts
    495
    Quote Originally Posted by driver View Post
    error C3861: 'glBindImageTexture': identifier not found
    On Windows, opengl32.dll only exports the functions which are part of the OpenGL 1.1 API. For functions which were added in later versions or in extensions, you must use wglGetProcAddress() to obtain a pointer to the function (or use a library such as GLEW to do this for you).

  3. #3
    Intern Contributor
    Join Date
    Oct 2012
    Posts
    53
    right on. thanks

  4. #4
    Intern Contributor
    Join Date
    Oct 2012
    Posts
    53
    just to clarify a little bit:
    glew.h was included but glBindImageTexture() didn't exist, glBindImageTextureEXT did!

Tags for this Thread

Posting Permissions

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