diff --git a/src/GPU.cpp b/src/GPU.cpp index 8cb8d737..07748beb 100644 --- a/src/GPU.cpp +++ b/src/GPU.cpp @@ -177,7 +177,9 @@ void DeInit() Framebuffer[1][0] = nullptr; Framebuffer[1][1] = nullptr; +#ifdef OGLRENDERER_ENABLED CurGLCompositor = nullptr; +#endif } void ResetVRAMCache()