Browse Source

doc: it doesn't make sense to use indexed outputs for this.

pull/364/head
Vladimír Vondruš 7 years ago
parent
commit
c9d26a0628
  1. 4
      doc/snippets/MagnumGL.cpp

4
doc/snippets/MagnumGL.cpp

@ -343,8 +343,8 @@ bindAttributeLocation(Position::Location, "position");
bindAttributeLocation(Normal::Location, "normal");
bindAttributeLocation(TextureCoordinates::Location, "textureCoordinates");
bindFragmentDataLocationIndexed(ColorOutput, 0, "color");
bindFragmentDataLocationIndexed(NormalOutput, 1, "normal");
bindFragmentDataLocation(ColorOutput, "color");
bindFragmentDataLocation(NormalOutput, "normal");
// Link...
/* [AbstractShaderProgram-binding] */

Loading…
Cancel
Save