Constellation.cpp   Constellation.cpp 
skipping to change at line 66 skipping to change at line 66
if (NULL != artIndices) {delete artIndices;} if (NULL != artIndices) {delete artIndices;}
asterism = NULL; asterism = NULL;
artTexture = NULL; artTexture = NULL;
artVertices = NULL; artVertices = NULL;
artIndices = NULL; artIndices = NULL;
} }
void Constellation::generateArtVertices(StelRenderer* renderer, const int r esolution) void Constellation::generateArtVertices(StelRenderer* renderer, const int r esolution)
{ {
// Texture not yet loaded. // Texture not yet loaded.
if (NULL == artTexture || !artTexture->getStatus() == TextureStatus_ Loaded) if (NULL == artTexture || !(artTexture->getStatus() == TextureStatus _Loaded))
{ {
// artVertices will be still NULL, and it will be generated in a future // artVertices will be still NULL, and it will be generated in a future
// call once the texture is loaded // call once the texture is loaded
return; return;
} }
const QSize texSize = artTexture->getDimensions(); const QSize texSize = artTexture->getDimensions();
artVertices = renderer->createVertexBuffer<Vertex>(PrimitiveType_Tri angles); artVertices = renderer->createVertexBuffer<Vertex>(PrimitiveType_Tri angles);
artIndices = renderer->createIndexBuffer(IndexType_U16); artIndices = renderer->createIndexBuffer(IndexType_U16);
 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/