linux-wallpaperengine/wallpaperengine/texture.cpp
Alexis Maiquez f5ff11995a ~ Fixed texture display for scenes
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2018-09-21 22:13:47 +02:00

17 lines
296 B
C++

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