Browse Source

GL: there's no EXT_DSA anymore.

pull/454/head
Vladimír Vondruš 6 years ago
parent
commit
fe4acbae7d
  1. 3
      src/Magnum/GL/AbstractTexture.cpp

3
src/Magnum/GL/AbstractTexture.cpp

@ -256,8 +256,7 @@ void AbstractTexture::createIfNotAlready() {
/* glGen*() does not create the object, just reserves the name. Some /* glGen*() does not create the object, just reserves the name. Some
commands (such as glBindTextures() or glObjectLabel()) operate with IDs commands (such as glBindTextures() or glObjectLabel()) operate with IDs
directly and they require the object to be created. Binding the texture directly and they require the object to be created. Binding the texture
to desired target finally creates it. Also all EXT DSA functions to desired target finally creates it. */
implicitly create it. */
bindInternal(); bindInternal();
CORRADE_INTERNAL_ASSERT(_flags & ObjectFlag::Created); CORRADE_INTERNAL_ASSERT(_flags & ObjectFlag::Created);
} }

Loading…
Cancel
Save