Skip to content
Snippets Groups Projects
Commit e15bb428 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Fixing config build tags.

parent 07e4d545
No related branches found
No related tags found
No related merge requests found
......@@ -57,10 +57,10 @@ template< typename ConfigTag > struct tnlConfigTagMeshResolve{ enum { enabled =
/****
* 1, 2, and 3 dimensions are enabled by default
*/
template< typename ConfigTag, int Dimensions > struct tnlConfigTagDimensions{ enum { enabled = false }; };
template< typename ConfigTag > struct tnlConfigTagDimensions< ConfigTag, 1 >{ enum { enabled = true }; };
template< typename ConfigTag, int Dimensions > struct tnlConfigTagDimensions{ enum { enabled = ( Dimensions >=0 && Dimensions <=3 ) }; };
/*template< typename ConfigTag > struct tnlConfigTagDimensions< ConfigTag, 1 >{ enum { enabled = true }; };
template< typename ConfigTag > struct tnlConfigTagDimensions< ConfigTag, 2 >{ enum { enabled = true }; };
template< typename ConfigTag > struct tnlConfigTagDimensions< ConfigTag, 3 >{ enum { enabled = true }; };
template< typename ConfigTag > struct tnlConfigTagDimensions< ConfigTag, 3 >{ enum { enabled = true }; };*/
/****
* Up to the exceptions enlisted below, all mesh types are disabled by default.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment