summaryrefslogtreecommitdiff
path: root/src/refresh/sw/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/refresh/sw/image.c')
-rw-r--r--src/refresh/sw/image.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/refresh/sw/image.c b/src/refresh/sw/image.c
index 58c8d3e..29a3a80 100644
--- a/src/refresh/sw/image.c
+++ b/src/refresh/sw/image.c
@@ -55,6 +55,11 @@ void IMG_Load(image_t *image, byte *pic, int width, int height)
{
int i, c, b;
+ if (image->flags & IF_TURBULENT) {
+ image->width = TURB_SIZE;
+ image->height = TURB_SIZE;
+ }
+
image->upload_width = width;
image->upload_height = height;