gsdx: avoid crash in DX debug build

This commit is contained in:
Gregory Hainaut 2016-06-11 01:12:47 +02:00
parent bbf046033c
commit 5ffc911a69
1 changed files with 2 additions and 1 deletions

View File

@ -430,7 +430,8 @@ extern void vmfree(void* ptr, size_t size);
#if defined(ENABLE_OGL_DEBUG)
struct GLAutoPop {
~GLAutoPop() {
glPopDebugGroup();
if (glPopDebugGroup)
glPopDebugGroup();
}
};