StelPainter.cpp   StelPainter.cpp 
skipping to change at line 696 skipping to change at line 696
strImage = QPixmap(newTex->subTexWidth, newT ex->subTexHeight); strImage = QPixmap(newTex->subTexWidth, newT ex->subTexHeight);
else else
strImage = QPixmap(StelUtils::getBiggerPower OfTwo(newTex->subTexWidth), StelUtils::getBiggerPowerOfTwo(newTex->subTexHe ight)); strImage = QPixmap(StelUtils::getBiggerPower OfTwo(newTex->subTexWidth), StelUtils::getBiggerPowerOfTwo(newTex->subTexHe ight));
newTex->width = strImage.width(); newTex->width = strImage.width();
newTex->height = strImage.height(); newTex->height = strImage.height();
strImage.fill(Qt::transparent); strImage.fill(Qt::transparent);
QPainter painter(&strImage); QPainter painter(&strImage);
painter.setFont(qPainter->font()); painter.setFont(qPainter->font());
painter.setRenderHints(QPainter::TextAntialiasing); painter.setRenderHints(QPainter::TextAntialiasing, t rue);
painter.setPen(Qt::white); painter.setPen(Qt::white);
painter.drawText(-strRect.x(), -strRect.y(), str); painter.drawText(-strRect.x(), -strRect.y(), str);
// Create and bind texture, and add it to the list o f cached textures // Create and bind texture, and add it to the list o f cached textures
newTex->texture = StelPainter::glContext->bindTextur e(strImage, GL_TEXTURE_2D, GL_RGBA, QGLContext::NoBindOption); newTex->texture = StelPainter::glContext->bindTextur e(strImage, GL_TEXTURE_2D, GL_RGBA, QGLContext::NoBindOption);
texCache.insert(hash, newTex, 3*newTex->width*newTex ->height); texCache.insert(hash, newTex, 3*newTex->width*newTex ->height);
cachedTex=newTex; cachedTex=newTex;
} }
else else
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/