diff --git a/src/render/Framebuffer.cpp b/src/render/Framebuffer.cpp index 6905eb361..46e7d1958 100644 --- a/src/render/Framebuffer.cpp +++ b/src/render/Framebuffer.cpp @@ -7,7 +7,7 @@ CFramebuffer::CFramebuffer() { bool CFramebuffer::alloc(int w, int h, uint32_t drmFormat) { bool firstAlloc = false; - RASSERT((w > 1 && h > 1), "cannot alloc a FB with negative / zero size! (attempted {}x{})", w, h); + RASSERT((w > 0 && h > 0), "cannot alloc a FB with negative / zero size! (attempted {}x{})", w, h); uint32_t glFormat = NFormatUtils::drmFormatToGL(drmFormat); uint32_t glType = NFormatUtils::glFormatToType(glFormat);