aboutsummaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2017-11-26 13:43:05 +0000
committerHarry Jeffery <harry@exec64.co.uk>2017-11-26 13:43:18 +0000
commit7d310e4897887909099afa1cb9333dd85eae3bd4 (patch)
treecc8b7ac3e5b8d64baaa90a9cbdfcd8b7f1afe64a /src/image.h
parent2c51ecf4eef9e06a464ed73f17bd3752d47d3dee (diff)
downloadimv-7d310e4897887909099afa1cb9333dd85eae3bd4.tar.gz
Use imv_bitmap for bitmaps intead of FIBITMAP
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image.h b/src/image.h
index c67e55f..e2fda4f 100644
--- a/src/image.h
+++ b/src/image.h
@@ -1,8 +1,8 @@
#ifndef IMV_IMAGE_H
#define IMV_IMAGE_H
+#include "bitmap.h"
#include <SDL2/SDL.h>
-#include <FreeImage.h>
struct imv_image;
@@ -13,7 +13,7 @@ struct imv_image *imv_image_create(SDL_Renderer *r);
void imv_image_free(struct imv_image *image);
/* Updates the image to contain the data in the bitmap parameter */
-int imv_image_set_bitmap(struct imv_image *image, FIBITMAP *bmp);
+int imv_image_set_bitmap(struct imv_image *image, struct imv_bitmap *bmp);
/* Draw the image at the given position with the given scale */
void imv_image_draw(struct imv_image *image, int x, int y, double scale);