mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-29 17:45:34 +00:00
Fix OpenGL debug groups
This commit is contained in:
parent
e7a31373c9
commit
95a1183ad3
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ namespace Debug
|
|||
group->push(state);
|
||||
lastAppliedStack.push_back(group);
|
||||
}
|
||||
if (!(lastAppliedStack.back() == this))
|
||||
if (lastAppliedStack.empty() || !(lastAppliedStack.back() == this))
|
||||
{
|
||||
push(state);
|
||||
lastAppliedStack.push_back(this);
|
||||
|
|
Loading…
Reference in a new issue