Fix style

This commit is contained in:
numzero 2020-11-23 01:04:31 +03:00 committed by lhofhansl
parent c158e20e5b
commit 8689e00fca
1 changed files with 4 additions and 2 deletions

View File

@ -35,7 +35,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "config.h" #include "config.h"
using namespace irr::core; using namespace irr::core;
static video::SMaterial baseMaterial() { static video::SMaterial baseMaterial()
{
video::SMaterial mat; video::SMaterial mat;
mat.Lighting = false; mat.Lighting = false;
#if ENABLE_GLES #if ENABLE_GLES
@ -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()); m_stars.reset(new scene::SMeshBuffer());
// Stupid IrrLicht doesnt allow non-indexed rendering, and indexed quad // Stupid IrrLicht doesnt allow non-indexed rendering, and indexed quad
// rendering is slow due to lack of hardware support. So as indices are // rendering is slow due to lack of hardware support. So as indices are