ogl-sample
[Top] [All Lists]

Re: [ogl-sample] gl.spec file missing offset values

To: ogl-sample@xxxxxxxxxxx
Subject: Re: [ogl-sample] gl.spec file missing offset values
From: Brian Paul <brianp@xxxxxxxxxxx>
Date: Fri, 27 Oct 2000 12:13:12 -0600
Organization: VA Linux Systems, Inc.
References: <39F5BB1A.14F47684@xxxxxxxxxxx> <39F5C68E.7B2B5339@xxxxxxxxxxx> <39F88C43.4A6B3D4C@xxxxxxxxxxx> <14840.36846.524940.701707@xxxxxxxxxxxxxxxxxxx> <39F8A79B.9733DE00@xxxxxxxxxxx>
Reply-to: ogl-sample@xxxxxxxxxxx
Sender: owner-ogl-sample@xxxxxxxxxxx
There's another problem in gl.spec related to GL_EXT_secondary_color.
>From the gl.spec file:


# pointer is really 'in'
SecondaryColorPointerEXT(size, type, stride, pointer)
        return          void
        param           size    Int32 in value
        param           type    ColorPointerType in value
        param           stride  SizeI in value
        param           pointer Void out array [COMPSIZE(size/type/stride)] 
retained
        category        EXT_secondary_color
        dlflags         notlistable
        glxflags        client-handcode server-handcode EXT
        version         1.1
        extension
        glsflags        client
        glsopcode       ?
        offset          ?


As the comment says, the pointer parameter should be an "in" array,
not an "out" array.  Can that be fixed as well?

-Brian

<Prev in Thread] Current Thread [Next in Thread>