Browse Source

Shaders: minor, but confusing.

This attribute is defined exactly the same for 2D and 3D, nevertheless
it may have led to confusion.
pull/547/head
Vladimír Vondruš 4 years ago
parent
commit
b674ce2bd0
  1. 2
      src/Magnum/Shaders/MeshVisualizerGL.h

2
src/Magnum/Shaders/MeshVisualizerGL.h

@ -171,7 +171,7 @@ class MAGNUM_SHADERS_EXPORT MeshVisualizerGL2D: public Implementation::MeshVisua
* @requires_webgl20 Object ID output requires integer support in
* shaders, which is not available in WebGL 1.0.
*/
typedef GenericGL3D::ObjectId ObjectId;
typedef GenericGL2D::ObjectId ObjectId;
#endif
enum: UnsignedInt {

Loading…
Cancel
Save