aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/render/graphics.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-07-26 14:33:20 +0800
committerchai <chaifix@163.com>2018-07-26 14:33:20 +0800
commita4c474808273501baff57455dbef7879896e9a8d (patch)
treec0fb236f85cdd5fb7d428f899dadd1a392724609 /src/libjin/render/graphics.h
parent0371f99359d1f58dbec6353234c2b1ebd86a7585 (diff)
+add modules
Diffstat (limited to 'src/libjin/render/graphics.h')
-rw-r--r--src/libjin/render/graphics.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libjin/render/graphics.h b/src/libjin/render/graphics.h
index 579158d..b4f1fb0 100644
--- a/src/libjin/render/graphics.h
+++ b/src/libjin/render/graphics.h
@@ -1,6 +1,7 @@
#ifndef __JIN_GRAPHICS_H
#define __JIN_GRAPHICS_H
-
+#include "../modules.h"
+#if JIN_MODULES_RENDER
#include "color.h"
#include "canvas.h"
#include "texture.h"
@@ -34,5 +35,5 @@ namespace render
extern void polygon(RENDER_MODE mode, float* p, int count);
}
}
-
-#endif
+#endif // JIN_MODULES_RENDER
+#endif // __JIN_GRAPHICS_H