mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 03:29:55 +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);
|
group->push(state);
|
||||||
lastAppliedStack.push_back(group);
|
lastAppliedStack.push_back(group);
|
||||||
}
|
}
|
||||||
if (!(lastAppliedStack.back() == this))
|
if (lastAppliedStack.empty() || !(lastAppliedStack.back() == this))
|
||||||
{
|
{
|
||||||
push(state);
|
push(state);
|
||||||
lastAppliedStack.push_back(this);
|
lastAppliedStack.push_back(this);
|
||||||
|
|
Loading…
Reference in a new issue