Fixed the frame sprites
This commit is contained in:
parent
82564b3840
commit
0576c47bb2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue