aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/render
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-11-12 11:43:09 +0000
committerMihai Fufezan <[email protected]>2024-11-14 13:01:20 +0200
commit24fd18bfd865e40b4e25a38fa28ba1bc0289c74e (patch)
tree8fc7c94502bc1ec9be49114e28a2da011381f46c /src/render
parentc31f514b8ea6eba6103976e27332c3b96ccc835b (diff)
downloadHyprland-drm-copy-cursor.tar.gz
Hyprland-drm-copy-cursor.zip
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Texture.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Texture.hpp b/src/render/Texture.hpp
index f814e06b..ae949d5f 100644
--- a/src/render/Texture.hpp
+++ b/src/render/Texture.hpp
@@ -43,7 +43,7 @@ class CTexture {
void* m_pEglImage = nullptr;
eTransform m_eTransform = HYPRUTILS_TRANSFORM_NORMAL;
bool m_bOpaque = false;
- uint32_t m_iDrmFormat = DRM_FORMAT_INVALID; // for shm
+ uint32_t m_iDrmFormat = 0; // for shm
private:
void createFromShm(uint32_t drmFormat, uint8_t* pixels, uint32_t stride, const Vector2D& size);