From 0576c47bb23bbfb9e7eaabb25c731b5fc9d7696d Mon Sep 17 00:00:00 2001 From: Linus Probert Date: Sat, 12 May 2018 10:47:06 +0200 Subject: [PATCH] Fixed the frame sprites --- src/gui.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui.c b/src/gui.c index 818c86f..624cbbf 100644 --- a/src/gui.c +++ b/src/gui.c @@ -415,6 +415,7 @@ gui_create_frame(unsigned int width, unsigned int height, Camera *cam) frame->destroyTextures = true; frame->pos = (Position) { 0, 0 }; frame->dim = (Dimension) { width*16, height*16 }; + frame->fixed = true; texture_create_blank(texture, SDL_TEXTUREACCESS_TARGET, cam->renderer);