mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-06 00:06:00 +01:00
single-pixel: set buffer size to 1,1
This commit is contained in:
parent
3ca699debf
commit
0ec6072a29
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ CSinglePixelBuffer::CSinglePixelBuffer(uint32_t id, wl_client* client, CColor co
|
|||
|
||||
success = texture->m_iTexID;
|
||||
|
||||
size = {1, 1};
|
||||
|
||||
if (!success)
|
||||
Debug::log(ERR, "Failed creating a single pixel texture: null texture id");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue