mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-15 15:58:29 +00:00
single-pixel: set buffer size to 1,1
This commit is contained in:
@@ -17,6 +17,8 @@ CSinglePixelBuffer::CSinglePixelBuffer(uint32_t id, wl_client* client, CColor co
|
|||||||
|
|
||||||
success = texture->m_iTexID;
|
success = texture->m_iTexID;
|
||||||
|
|
||||||
|
size = {1, 1};
|
||||||
|
|
||||||
if (!success)
|
if (!success)
|
||||||
Debug::log(ERR, "Failed creating a single pixel texture: null texture id");
|
Debug::log(ERR, "Failed creating a single pixel texture: null texture id");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user