mirror of https://github.com/PCSX2/pcsx2.git
gsdx: avoid crash in DX debug build
This commit is contained in:
parent
bbf046033c
commit
5ffc911a69
|
@ -430,7 +430,8 @@ extern void vmfree(void* ptr, size_t size);
|
||||||
#if defined(ENABLE_OGL_DEBUG)
|
#if defined(ENABLE_OGL_DEBUG)
|
||||||
struct GLAutoPop {
|
struct GLAutoPop {
|
||||||
~GLAutoPop() {
|
~GLAutoPop() {
|
||||||
glPopDebugGroup();
|
if (glPopDebugGroup)
|
||||||
|
glPopDebugGroup();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue