Khronos Public Bugzilla
Bug 625 - GL_ARB_robustness contradicts itself
Summary: GL_ARB_robustness contradicts itself
Alias: None
Product: OpenGL
Classification: Unclassified
Component: Registry (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: Jon Leech
QA Contact:
Depends on:
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.