Khronos Public Bugzilla
Bug 625 - GL_ARB_robustness contradicts itself
GL_ARB_robustness contradicts itself
Product: OpenGL
Classification: Unclassified
Component: Registry
All All
: P3 normal
: ---
Assigned To: Jon Leech
Depends on:
  Show dependency treegraph
Reported: 2012-04-16 08:03 PDT by nobled
Modified: 2013-08-08 16:31 PDT (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description nobled 2012-04-16 08:03:49 PDT
Under "Modify the description of GetCompressedTexImage:", it says:

      called, GetCompressedTexImage and GetnCompressedTexImageARB write
      MIN(n,bufSize) ubytes of compressed image data ...

This is inconsistent with every other entrypoint, which doesn't have that language. It also contradicts the "Errors" section, which includes GetnCompressedTexImageARB in the list saying "INVALID_OPERATION is generated if the buffer size required to fill all the requested data is less than <bufSize>" (and according to the "GL Errors" section of the OpenGL spec, INVALID_OPERATION means the "offending command" is ignored) as well as the resolution to Issue #5.
Comment 1 Jon Leech 2013-08-08 16:31:04 PDT
Rev 15 of the extension (which may have been posted shortly before you
filed this though I'm not sure) corrected the error condition to be
"... *greater* than <bufSize>" rather than "less", so the inconsistency
has been resolved.