Wrap CurGLCompositor cleanup in an #ifdef (#1837)

This commit is contained in:
Jesse Talavera-Greenberg 2023-09-24 12:48:37 -04:00 committed by GitHub
parent 9d9ba83731
commit f8fdc77e43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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()