diff --git a/egami/ImagePrivate.hpp b/egami/ImagePrivate.hpp index b96eefe..a6b5eca 100644 --- a/egami/ImagePrivate.hpp +++ b/egami/ImagePrivate.hpp @@ -101,15 +101,25 @@ namespace egami { // Clean all Data outside old range: // basic element: etk::Color<> tmpBg(0,0,0,0); - for (int32_t yyy=oldSize.y(); yyy(m_data[(yyy-1)*oldSize.x()+xxx])); + } + } } - for (int32_t yyy=0; yyy(m_data[yyy*oldSize.x()+oldSize.x()-1])); + } + } } } void resize__(const ivec2& _size, const EGAMI_TYPE_COLOR& _color) {