aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--viewport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/viewport.c b/viewport.c
index 3ac5505..8717d80 100644
--- a/viewport.c
+++ b/viewport.c
@@ -30,6 +30,7 @@ void imv_init_viewport(struct imv_viewport *view, SDL_Window *window)
void imv_destroy_viewport(struct imv_viewport *view)
{
+ view->window = NULL;
return;
}