mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-16 14:22:24 +08:00
18 lines
385 B
C++
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;
|
|
}
|
|
} |