aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authornumzero <numzer0@yandex.ru>2020-11-23 01:04:31 +0300
committerlhofhansl <larsh@apache.org>2020-11-26 12:49:10 -0800
commit8689e00fca2cf55594d53f4e112f0d7b6676c8b0 (patch)
tree0fb0bb4982e625c2f0a13d5f3f46dee1a2698d4e /src/client
parentc158e20e5beab1037c905fe96b2a56baccddaec7 (diff)
downloadminetest-8689e00fca2cf55594d53f4e112f0d7b6676c8b0.tar.gz
minetest-8689e00fca2cf55594d53f4e112f0d7b6676c8b0.tar.bz2
minetest-8689e00fca2cf55594d53f4e112f0d7b6676c8b0.zip
Fix style
Diffstat (limited to 'src/client')
-rw-r--r--src/client/sky.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/sky.cpp b/src/client/sky.cpp
index 0fccf067c..180d43066 100644
--- a/src/client/sky.cpp
+++ b/src/client/sky.cpp
@@ -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
@@ -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