summaryrefslogtreecommitdiff
path: root/src/render/Texture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/Texture.cpp')
-rw-r--r--src/render/Texture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Texture.cpp b/src/render/Texture.cpp
index aef8e4ac..5560db97 100644
--- a/src/render/Texture.cpp
+++ b/src/render/Texture.cpp
@@ -55,7 +55,7 @@ CTexture::CTexture(wlr_texture* tex) {
else
m_iType = TEXTURE_EXTERNAL;
- m_vSize = Vector2D(tex->width, tex->height);
+ m_vSize = Vector2D((int)tex->width, (int)tex->height);
}
CTexture::CTexture(const SDMABUFAttrs& attrs, void* image) {