mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Remove an assert referencing checkLightId, which seems not to exist anywhere.
This commit is contained in:
parent
2c929360ff
commit
639cad4beb
1 changed files with 3 additions and 5 deletions
|
@ -389,8 +389,6 @@ void LightStage::updateLightArrayBuffer(Index lightId) {
|
||||||
_lightArrayBuffer = std::make_shared<gpu::Buffer>(lightSize);
|
_lightArrayBuffer = std::make_shared<gpu::Buffer>(lightSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(checkLightId(lightId));
|
|
||||||
|
|
||||||
if (lightId > (Index)_lightArrayBuffer->getNumTypedElements<graphics::Light::LightSchema>()) {
|
if (lightId > (Index)_lightArrayBuffer->getNumTypedElements<graphics::Light::LightSchema>()) {
|
||||||
_lightArrayBuffer->resize(lightSize * (lightId + 10));
|
_lightArrayBuffer->resize(lightSize * (lightId + 10));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue