aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/Bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Graphics/Bitmap.h')
-rw-r--r--src/libjin/Graphics/Bitmap.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libjin/Graphics/Bitmap.h b/src/libjin/Graphics/Bitmap.h
index ab84388..af7f376 100644
--- a/src/libjin/Graphics/Bitmap.h
+++ b/src/libjin/Graphics/Bitmap.h
@@ -1,6 +1,6 @@
#ifndef __LIBJIN_BITMAP_H
#define __LIBJIN_BITMAP_H
-#include "../modules.h"
+#include "../jin_configuration.h"
#if LIBJIN_MODULES_RENDER
#include "../Math/Vector2.hpp"
@@ -16,6 +16,7 @@ namespace graphics
public:
static Bitmap* createBitmap(const void* imgData, size_t size);
static Bitmap* createBitmap(int w, int h, Color color = Color::BLACK);
+ static void destroyBitmap(Bitmap* bitmap);
static Bitmap* clone(const Bitmap* bitmap);
~Bitmap();
@@ -42,8 +43,8 @@ namespace graphics
};
-}
-}
+} // graphics
+} // jin
#endif
#endif \ No newline at end of file