mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03: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…
Add table
Add a link
Reference in a new issue