linux-wallpaperengine/WallpaperEngine/texture.cpp
Alexis Maiquez 69724adfdc ~ More class name changes and namespace modifictions (fs and irr)
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2019-08-16 14:56:16 +02:00

18 lines
385 B
C++

#include <WallpaperEngine/texture.h>
#include <stdexcept>
#include <lz4.h>
#include "WallpaperEngine/Irrlicht/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;
}
}