mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-15 22:02:29 +08:00
~ fixed texture resolution variable not being correct (prevented texture scaling on things like masks)
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
This commit is contained in:
parent
30b4eb4cd4
commit
5c56d68a69
@ -50,8 +50,8 @@ CTexture::CTexture (void* fileData)
|
||||
// set the texture resolution
|
||||
// TODO: SUPPORT SPRITES
|
||||
this->m_resolution = {
|
||||
this->m_header->width, this->m_header->height,
|
||||
this->m_header->textureWidth, this->m_header->textureHeight
|
||||
this->m_header->textureWidth, this->m_header->textureHeight,
|
||||
this->m_header->width, this->m_header->height
|
||||
};
|
||||
|
||||
// reserve a texture
|
||||
|
Loading…
Reference in New Issue
Block a user