Implement reverse otb items table

This commit is contained in:
Eduardo Bart
2012-08-19 18:49:24 -03:00
parent 0af783b5cf
commit b349ff2620
8 changed files with 38 additions and 38 deletions

View File

@@ -159,10 +159,6 @@ void Painter::setAlphaWriting(bool enable)
void Painter::setResolution(const Size& resolution)
{
if(m_resolution == resolution)
return;
// The projection matrix converts from Painter's coordinate system to GL's coordinate system
// * GL's viewport is 2x2, Painter's is width x height
// * GL has +y -> -y going from bottom -> top, Painter is the other way round