mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 01:13:32 +02:00
Fixed warning on Mac and Ubuntu
This commit is contained in:
parent
4cadcd79bf
commit
4cbee72eae
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ void DebugOutline::run(const render::RenderContextPointer& renderContext, const
|
|||
const auto outlineRessources = input.get0();
|
||||
const auto outlineRect = input.get1();
|
||||
|
||||
if (_isDisplayEnabled && outlineRessources) {
|
||||
if (_isDisplayEnabled && outlineRessources && outlineRect.z>0 && outlineRect.w>0) {
|
||||
assert(renderContext->args);
|
||||
assert(renderContext->args->hasViewFrustum());
|
||||
RenderArgs* args = renderContext->args;
|
||||
|
|
Loading…
Reference in a new issue