mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
17 lines
296 B
C++
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;
|
|
}
|
|
} |