mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Irrlicht cleanups (mostly getting rid of core::array
)
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
This commit is contained in:
parent
5acc2736db
commit
5d226268df
45 changed files with 308 additions and 1227 deletions
|
@ -830,8 +830,8 @@ void Sky::updateStars()
|
|||
warningstream << "Requested " << m_star_params.count << " stars but " << 0x4000 << " is the max\n";
|
||||
m_star_params.count = 0x4000;
|
||||
}
|
||||
m_stars->Vertices.reallocate(4 * m_star_params.count);
|
||||
m_stars->Indices.reallocate(6 * m_star_params.count);
|
||||
m_stars->Vertices.reserve(4 * m_star_params.count);
|
||||
m_stars->Indices.reserve(6 * m_star_params.count);
|
||||
|
||||
video::SColor fallback_color = m_star_params.starcolor; // used on GLES 2 “without shaders”
|
||||
PcgRandom rgen(m_seed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue