From 3424a52ea0dd401ad7f11de4f1dd96df742df8b4 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 25 Jul 2016 21:42:00 +0200 Subject: [PATCH] [DEV] init at the god way by default --- ewol/resource/Texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ewol/resource/Texture.cpp b/ewol/resource/Texture.cpp index c5e4b909..4183c113 100644 --- a/ewol/resource/Texture.cpp +++ b/ewol/resource/Texture.cpp @@ -141,5 +141,5 @@ void ewol::resource::Texture::flush() { void ewol::resource::Texture::setImageSize(ivec2 _newSize) { std::unique_lock lock(m_mutex); _newSize.setValue( nextP2(_newSize.x()), nextP2(_newSize.y()) ); - m_data.configure(_newSize, egami::colorType::RGBA8); + m_data.resize(_newSize); }