MCPcopy Create free account
hub / github.com/cginternals/globjects / disable

Method disable

source/globjects/source/State.cpp:160–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void State::disable(const GLenum capability)
161{
162 Capability* cap = getCapability(capability);
163 cap->disable();
164 if (m_mode == ImmediateMode)
165 cap->apply();
166}
167
168bool State::isEnabled(const GLenum capability) const
169{

Callers 1

initializeFunction · 0.45

Calls 1

applyMethod · 0.45

Tested by

no test coverage detected