aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/OpenGLSupport
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-12-04 22:05:28 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-12-04 22:05:28 +0100
commit6ccf97f3e6ce39c210e225ba7aae66da15b71660 (patch)
tree27b8cfa170bc5186f671aa4560fc7cfd4b1163e1 /unsupported/Eigen/OpenGLSupport
parent433bce5c3a18e0929e95bae6cb142f1ad920e5ac (diff)
Fix GL support wrt evaluators
Diffstat (limited to 'unsupported/Eigen/OpenGLSupport')
-rw-r--r--unsupported/Eigen/OpenGLSupport4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/Eigen/OpenGLSupport b/unsupported/Eigen/OpenGLSupport
index c4090ab11..4ed545174 100644
--- a/unsupported/Eigen/OpenGLSupport
+++ b/unsupported/Eigen/OpenGLSupport
@@ -51,7 +51,7 @@ namespace internal {
typename Scalar = typename XprType::Scalar, \
int Rows = XprType::RowsAtCompileTime, \
int Cols = XprType::ColsAtCompileTime, \
- bool IsGLCompatible = bool(XprType::Flags&LinearAccessBit) \
+ bool IsGLCompatible = bool(internal::evaluator<XprType>::Flags&LinearAccessBit) \
&& bool(XprType::Flags&DirectAccessBit) \
&& (XprType::IsVectorAtCompileTime || (XprType::Flags&RowMajorBit)==0)> \
struct EIGEN_CAT(EIGEN_CAT(gl_,FUNC),_impl); \
@@ -203,7 +203,7 @@ namespace internal {
typename Scalar = typename XprType::Scalar, \
int Rows = XprType::RowsAtCompileTime, \
int Cols = XprType::ColsAtCompileTime, \
- bool IsGLCompatible = bool(XprType::Flags&LinearAccessBit) \
+ bool IsGLCompatible = bool(internal::evaluator<XprType>::Flags&LinearAccessBit) \
&& bool(XprType::Flags&DirectAccessBit) \
&& (XprType::IsVectorAtCompileTime || (XprType::Flags&RowMajorBit)==0)> \
struct EIGEN_CAT(EIGEN_CAT(gl_,FUNC),_impl); \