diff options
author | Jesse Talavera-Greenberg <jesse@jesse.tg> | 2023-09-24 12:48:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-24 18:48:37 +0200 |
commit | f8fdc77e43b485e95ec2c10fdbaf767860d187fc (patch) | |
tree | 44f4a7a6b7798f4de99c12d09503e3e94cf5ee76 /src | |
parent | 9d9ba837316b0427f24e4b0883d26bb4fa2d36b8 (diff) |
Wrap CurGLCompositor cleanup in an #ifdef (#1837)
Diffstat (limited to 'src')
-rw-r--r-- | src/GPU.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GPU.cpp b/src/GPU.cpp index 8cb8d73..07748be 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() |