Browse Source

GCC 4.6 compatibility: missing forward declaration for Drawable[23]D.

Vladimír Vondruš 12 years ago
parent
commit
58fa59e956
  1. 3
      src/Magnum/SceneGraph/SceneGraph.h

3
src/Magnum/SceneGraph/SceneGraph.h

@ -157,6 +157,9 @@ template<class T> using BasicDrawable2D = Drawable<2, T>;
template<class T> using BasicDrawable3D = Drawable<3, T>;
typedef BasicDrawable2D<Float> Drawable2D;
typedef BasicDrawable3D<Float> Drawable3D;
#else
typedef Drawable<2, Float> Drawable2D;
typedef Drawable<3, Float> Drawable3D;
#endif
template<class> class BasicDualComplexTransformation;

Loading…
Cancel
Save