diff --git a/gfx/video_context_driver.c b/gfx/video_context_driver.c index db42c91e65..2ce5a3da95 100644 --- a/gfx/video_context_driver.c +++ b/gfx/video_context_driver.c @@ -95,9 +95,6 @@ void gfx_ctx_set(const gfx_ctx_driver_t *ctx_driver) void gfx_ctx_destroy(const gfx_ctx_driver_t *ctx_driver) { - if (ctx_driver) - gfx_ctx_destroy(ctx_driver); - video_context = NULL; }