Browse Source

Shaders: fix a typo in a doc snippet.

pull/589/head
Vladimír Vondruš 4 years ago
parent
commit
82a1f8e767
  1. 2
      doc/snippets/MagnumShaders-gl.cpp

2
doc/snippets/MagnumShaders-gl.cpp

@ -284,7 +284,7 @@ ImageView2D coneDiffuse{DOXYGEN_ELLIPSIS({}, {})}, cubeDiffuse{DOXYGEN_ELLIPSIS(
GL::Texture2DArray diffuseTexture;
diffuseTexture
DOXYGEN_ELLIPSIS()
/* Assuming all iamges have the same format and size */
/* Assuming all images have the same format and size */
.setStorage(1, GL::textureFormat(coneDiffuse.format()),
{coneDiffuse.size(), 3})
.setSubImage(0, {}, coneDiffuse)

Loading…
Cancel
Save