Results 1 to 4 of 4

Thread: Implenting glLockArraysEXT() (does not work for me)

  1. #1
    Senior Member Regular Contributor
    Join Date
    Oct 2002
    Posts
    164

    Implenting glLockArraysEXT() (does not work for me)

    Hello.
    I want to use glLockArraysEXT() and I copied all the extension stuff (which I could see) and pasted in my programm, still it says glLockArraysEXT() is a undeclared identifier... How come?
    Thanks for any help.

    P.S. I don't like to use glext.h, but I have extensions already working without it, so...
    I may not be good looking but I sure am dumb.

  2. #2
    Junior Member Newbie
    Join Date
    Sep 2002
    Posts
    18

    Re: Implenting glLockArraysEXT() (does not work for me)

    how are you declaring it? without glext.h it should be:

    typedef (APIENTRY * PFNGLLOCKARRAYSEXTPROC) (int first, GLsizei count);

    PFNGLLOCKARRAYSEXTPROC glLockArraysEXT;

    With glext.h you would discard the first line.

    -kallDrexx

  3. #3
    Senior Member Regular Contributor
    Join Date
    Oct 2002
    Posts
    164

    Re: Implenting glLockArraysEXT() (does not work for me)

    Hello.
    Oh, i managed to get it right now.
    At least it gives me no error.
    Is it automatically working then?
    (I can see no difference in speed )
    Thanks for the help.
    I may not be good looking but I sure am dumb.

  4. #4
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,753

    Re: Implenting glLockArraysEXT() (does not work for me)

    You also have to use wglGetProcAddress in order to assign the function pointer to the entry point into the drivers.
    Deiussum
    Software Engineer and OpenGL enthusiast

Similar Threads

  1. Help with implenting VAR.
    By B_old in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-24-2002, 05:25 AM
  2. glLockArraysEXT(start, size)
    By masterpoi in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 05-20-2001, 01:27 PM
  3. glLockArraysEXT\glUnlockArraysEXT?
    By XBCT in forum OpenGL: Advanced Coding
    Replies: 31
    Last Post: 01-17-2001, 06:01 PM
  4. glLockArraysEXT
    By BANE in forum OpenGL: macOS
    Replies: 2
    Last Post: 08-17-2000, 07:04 AM
  5. Behavior of glLockArraysEXT()?
    By XBCT in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 08-06-2000, 06:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean