#241 GL_GEOMETRY_X_TYPE and GL_GEOMETRY_X_TYPE_ARB different #define

1.10.1
pending
Nigel Stewart
4
2014-02-11
2014-01-27
Anonymous
No

define GL_GEOMETRY_INPUT_TYPE 0x8917

define GL_GEOMETRY_OUTPUT_TYPE 0x8918

...

define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB

define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC

...

define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB

define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC

glProgramParameteri(program_id, GL_GEOMETRY_INPUT_TYPE_ARB, input_type ) ; // OK
glProgramParameteri(program_id, GL_GEOMETRY_INPUT_TYPE, input_type ) ; // FAILS

Discussion

  • Nigel Stewart
    Nigel Stewart
    2014-01-27

    Seems according to spec:

    $ egrep 'GEOMETRY_(INPUT|OUTPUT)_TYPE' gl/api/*/*
    gl/api/GL/glcorearb.h:#define GL_GEOMETRY_INPUT_TYPE            0x8917
    gl/api/GL/glcorearb.h:#define GL_GEOMETRY_OUTPUT_TYPE           0x8918
    gl/api/GL/glext.h:#define GL_GEOMETRY_INPUT_TYPE            0x8917
    gl/api/GL/glext.h:#define GL_GEOMETRY_OUTPUT_TYPE           0x8918
    gl/api/GL/glext.h:#define GL_GEOMETRY_INPUT_TYPE_ARB        0x8DDB
    gl/api/GL/glext.h:#define GL_GEOMETRY_OUTPUT_TYPE_ARB       0x8DDC
    gl/api/GL/glext.h:#define GL_GEOMETRY_INPUT_TYPE_EXT        0x8DDB
    gl/api/GL/glext.h:#define GL_GEOMETRY_OUTPUT_TYPE_EXT       0x8DDC
    
     
  • Nigel Stewart
    Nigel Stewart
    2014-01-27

    • labels: false define, GL_GEOMETRY_INPUT_TYPE, GL_GEOMETRY_OUTPUT_TYPE --> GL_GEOMETRY_INPUT_TYPE, GL_GEOMETRY_OUTPUT_TYPE
    • assigned_to: Nigel Stewart
    • Group: 1.9.0 --> 1.10.1
    • Priority: 1 --> 4
     


Anonymous


Cancel   Add attachments