linux-wallpaperengine/WallpaperEngine/texture.cpp
Alexis Maiquez 654918904a ~ Changed namespace names for wp::core and wp to a more suited name
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2019-08-15 01:53:40 +02:00

18 lines
360 B
C++

#include <WallpaperEngine/texture.h>
#include <stdexcept>
#include <lz4.h>
#include "irrlicht.h"
namespace WallpaperEngine
{
texture::texture (irr::io::path& file)
{
this->m_texture = WallpaperEngine::irrlicht::driver->getTexture (file);
}
irr::video::ITexture* texture::getIrrTexture ()
{
return this->m_texture;
}
}