MiniEngine/sdl_engine_surface.hpp
2017-01-05 13:25:09 +08:00

13 lines
163 B
C++

Surface::Surface()
{
pimpl=new impl;
}
Surface::~Surface()
{
delete pimpl;
}
Surface::Surface(const Surface& inc) : Surface()
{
*pimpl=*(inc.pimpl);
}