From 10be74f1582b2f7459e00a67e0fed6f253342973 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Sat, 21 Oct 2017 19:05:21 +0200 Subject: [PATCH] [DEV] update to the new ETK allocator wrapper --- egami/Image.cpp | 1 - tools/viewer/appl/init.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/egami/Image.cpp b/egami/Image.cpp index 74eae79..ba1f46c 100644 --- a/egami/Image.cpp +++ b/egami/Image.cpp @@ -121,7 +121,6 @@ void egami::Image::configure(const ivec2& _size, enum colorType _type) { m_data = nullptr; break; case egami::colorType::RGBA8: - //m_data = ememory::makeShared(new egami::ImageTemplate>(_size)); m_data = ememory::makeShared>>(_size); break; case egami::colorType::RGB8: diff --git a/tools/viewer/appl/init.cpp b/tools/viewer/appl/init.cpp index 814e01f..fb75970 100644 --- a/tools/viewer/appl/init.cpp +++ b/tools/viewer/appl/init.cpp @@ -111,7 +111,7 @@ class MainApplication : public ewol::context::Application { */ int main(int _argc, const char *_argv[]) { // second possibility - return ewol::run(new MainApplication(), _argc, _argv); + return ewol::run(ETK_NEW(appl::MainApplication)(), _argc, _argv); }