single-pixel: set buffer size to 1,1

This commit is contained in:
Vaxry 2024-10-05 16:36:57 +01:00
parent 3ca699debf
commit 0ec6072a29

View File

@ -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");
}