aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/protocols/SinglePixel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/SinglePixel.cpp b/src/protocols/SinglePixel.cpp
index 0595cce5..d800539d 100644
--- a/src/protocols/SinglePixel.cpp
+++ b/src/protocols/SinglePixel.cpp
@@ -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");
}