mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-13 08:58:35 +00:00
Fix OpenGL debug groups
This commit is contained in:
parent
e7a31373c9
commit
95a1183ad3
@ -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…
x
Reference in New Issue
Block a user