Fixed the frame sprites

This commit is contained in:
Linus Probert 2018-05-12 10:47:06 +02:00
parent 82564b3840
commit 0576c47bb2
1 changed files with 1 additions and 0 deletions

View File

@ -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);