Wrap CurGLCompositor cleanup in an #ifdef (#1837)
This commit is contained in:
parent
9d9ba83731
commit
f8fdc77e43
|
@ -177,7 +177,9 @@ void DeInit()
|
||||||
Framebuffer[1][0] = nullptr;
|
Framebuffer[1][0] = nullptr;
|
||||||
Framebuffer[1][1] = nullptr;
|
Framebuffer[1][1] = nullptr;
|
||||||
|
|
||||||
|
#ifdef OGLRENDERER_ENABLED
|
||||||
CurGLCompositor = nullptr;
|
CurGLCompositor = nullptr;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void ResetVRAMCache()
|
void ResetVRAMCache()
|
||||||
|
|
Loading…
Reference in New Issue