Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
numberZero authored and lhofhansl committed Nov 26, 2020
1 parent c158e20 commit 8689e00
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/client/sky.cpp
Expand Up @@ -35,7 +35,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "config.h"
using namespace irr::core;

static video::SMaterial baseMaterial() {
static video::SMaterial baseMaterial()
{
video::SMaterial mat;
mat.Lighting = false;
#if ENABLE_GLES
Expand Down Expand Up @@ -836,7 +837,8 @@ void Sky::setStarCount(u16 star_count, bool force_update)
}
}

void Sky::updateStars() {
void Sky::updateStars()
{
m_stars.reset(new scene::SMeshBuffer());
// Stupid IrrLicht doesn’t allow non-indexed rendering, and indexed quad
// rendering is slow due to lack of hardware support. So as indices are
Expand Down

0 comments on commit 8689e00

Please sign in to comment.