Browse Source

TextureTools: don't use deprecated names in a comment.

pull/674/head
Vladimír Vondruš 1 year ago
parent
commit
066ed41c9f
  1. 3
      src/Magnum/TextureTools/DistanceFieldGL.cpp

3
src/Magnum/TextureTools/DistanceFieldGL.cpp

@ -73,7 +73,8 @@ class DistanceFieldShader: public GL::AbstractShaderProgram {
/* ES2 on iOS (apparently independent on the device) has only 8 texture
units, so be careful to not step over that. ES3 on the same has 16.
Not using the default (0) because this shader is quite specific.
Unit 6 is used by Shaders::Vector and Shaders::DistanceFieldVector. */
Unit 6 is used by Shaders::VectorGL and
Shaders::DistanceFieldVectorGL. */
enum: Int { TextureUnit = 7 };
Int _imageSizeInvertedUniform{0};

Loading…
Cancel
Save