[core] Added PixelZoom, RasterPos to GL config

This commit is contained in:
Bruno de Oliveira Abinader
2016-05-24 17:30:54 +03:00
parent 9732f02422
commit 876bf0687a
3 changed files with 21 additions and 0 deletions

View File

@@ -269,6 +269,10 @@ struct PixelZoom {
}
};
inline bool operator!=(const PixelZoom::Type& a, const PixelZoom::Type& b) {
return a.xfactor != b.xfactor || a.yfactor != b.yfactor;
}
struct RasterPos {
using Type = std::array<GLdouble, 4>;
static const Type Default;