Bug 815 - GL*: Change glIs<Buffer>Enabled() -> glIs<Buffer>Bound() to reflect semanics - Also fix the exception message (enabled/disabled -> bound/unbound)
Summary: GL*: Change glIs<Buffer>Enabled() -> glIs<Buffer>Bound() to reflect semanics ...
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2013-08-14 23:29 CEST by Sven Gothel
Modified: 2013-08-16 02:21 CEST (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
6c72b1fc68e65bc0d4a0ee1e0442cc1637a67d01
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2013-08-14 23:29:14 CEST
Reason of change: Avoid confusion and point to the cause!

API change:
  glIsVBOArrayEnabled() -> glIsVBOArrayBound()
  glIsVBOElementArrayEnabled() -> glIsVBOElementArrayBound()
  glIsPBOPackEnabled() -> glIsPBOPackBound()
  glIsPBOUnpackEnabled() -> glIsPBOUnpackBound()

Exception message change:
  "must be enabled to call this method" -> "must be bound to call this method"
  "must be disabled to call this method" -> "must be unbound to call this method"
Comment 1 Sven Gothel 2013-08-16 02:21:52 CEST
fixed as described ..