aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/graphics/je_bitmap.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-11-26 08:37:17 +0800
committerchai <chaifix@163.com>2018-11-26 08:37:17 +0800
commit24b712a956a48f43788e1c11e121aedf52e22278 (patch)
tree0bbccc98f1cb24c44cfb58ca99ce305b9f513e09 /src/libjin/graphics/je_bitmap.cpp
parent1d54138b94a384917d47abd8109c586b1b7ac323 (diff)
*粒子系统
Diffstat (limited to 'src/libjin/graphics/je_bitmap.cpp')
-rw-r--r--src/libjin/graphics/je_bitmap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libjin/graphics/je_bitmap.cpp b/src/libjin/graphics/je_bitmap.cpp
index cdab46d..a6db55e 100644
--- a/src/libjin/graphics/je_bitmap.cpp
+++ b/src/libjin/graphics/je_bitmap.cpp
@@ -30,7 +30,7 @@ namespace JinEngine
return bitmap;
}
- /*static*/ Bitmap* Bitmap::createBitmap(const void* imgData, size_t size)
+ Bitmap* Bitmap::createBitmap(const void* imgData, size_t size)
{
if (imgData == nullptr)
return nullptr;
@@ -48,7 +48,7 @@ namespace JinEngine
return bitmap;
}
- /*static*/ Bitmap* Bitmap::createBitmap(int w, int h, Color color)
+ Bitmap* Bitmap::createBitmap(int w, int h, Color color)
{
Bitmap* bitmap = new Bitmap(w, h);
if (color != Color::BLACK)
@@ -56,7 +56,7 @@ namespace JinEngine
return bitmap;
}
- /*static*/ Bitmap* Bitmap::createBitmap(int width, int height, std::function<Color(int, int, int, int)> drawer)
+ Bitmap* Bitmap::createBitmap(int width, int height, std::function<Color(int, int, int, int)> drawer)
{
Bitmap* bitmap = new Bitmap(width, height);
for (int y = 0; y < height; ++y)