@@ -1532,7 +1532,7 @@ void Renderer::render(const Observer& observer,
15321532 // Render stars
15331533 if ((renderFlags & ShowStars) != 0 && universe.getStarCatalog () != nullptr )
15341534 {
1535- renderPointStars (*universe.getStarCatalog (), exposure, observer);
1535+ renderStars (*universe.getStarCatalog (), exposure, observer);
15361536 }
15371537
15381538 // Translate the camera before rendering the asterisms and boundaries
@@ -3577,9 +3577,9 @@ static float calcMaxFOV(float fovY_degrees, float aspectRatio)
35773577}
35783578
35793579
3580- void Renderer::renderPointStars (const StarDatabase& starDB,
3581- float exposure,
3582- const Observer& observer)
3580+ void Renderer::renderStars (const StarDatabase& starDB,
3581+ float exposure,
3582+ const Observer& observer)
35833583{
35843584 Vector3d obsPos = observer.getPosition ().toLy ();
35853585
@@ -5067,10 +5067,7 @@ Renderer::renderSolarSystemObjects(const Observer &observer,
50675067 setPipelineState (ps);
50685068
50695069 StarVertexBuffer::enable ();
5070- if (starStyle == PointStars)
5071- starVertexBuffer->startBasicPoints ();
5072- else
5073- starVertexBuffer->startSprites ();
5070+ starVertexBuffer->startSprites ();
50745071 starVertexBuffer->render ();
50755072 starVertexBuffer->finish ();
50765073 StarVertexBuffer::disable ();
0 commit comments