[DEV] update to the new ETK allocator wrapper
This commit is contained in:
parent
861f59061f
commit
10be74f158
@ -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<egami::ImagePrivate>(new egami::ImageTemplate<etk::Color<uint8_t>>(_size));
|
||||
m_data = ememory::makeShared<egami::ImageTemplate<etk::Color<uint8_t, 4>>>(_size);
|
||||
break;
|
||||
case egami::colorType::RGB8:
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user