From d559281f595d80752c850f3e47e42157c8be82a1 Mon Sep 17 00:00:00 2001 From: Nichole Mattera <697668+NicholeMattera@users.noreply.github.com> Date: Thu, 25 Jun 2020 21:06:12 -0400 Subject: [PATCH] Fixed a small mistake. --- graphics/sdl2/sdl2-demo/source/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/sdl2/sdl2-demo/source/main.c b/graphics/sdl2/sdl2-demo/source/main.c index bbc386c..e329078 100644 --- a/graphics/sdl2/sdl2-demo/source/main.c +++ b/graphics/sdl2/sdl2-demo/source/main.c @@ -234,7 +234,7 @@ int main(int argc, char** argv) { } // clean up your textures when you are done with them - if (sdllogo) + if (sdllogo_tex) SDL_DestroyTexture(sdllogo_tex); if (switchlogo_tex)