Browse Source

GL: engrish.

pull/324/head
Vladimír Vondruš 7 years ago
parent
commit
127c8b624b
  1. 2
      src/Magnum/GL/Buffer.cpp

2
src/Magnum/GL/Buffer.cpp

@ -247,7 +247,7 @@ auto Buffer::bindSomewhereInternal(const TargetHint hint) -> TargetHint {
/* Sorry, this is ugly because GL is also ugly. Blame GL, not me.
If the buffer target hint is ElementArray and some VAO is bound (or our
state tracker is not sure), we have to unbound the VAO first in order to
state tracker is not sure), we have to unbind the VAO first in order to
prevent accidental modification of that VAO. See
Test::MeshGLTest::unbindVAOwhenSettingIndexBufferData() for details. */
if(hint == TargetHint::ElementArray) {

Loading…
Cancel
Save