diff options
Diffstat (limited to 'include/libcamera')
-rw-r--r-- | include/libcamera/geometry.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libcamera/geometry.h b/include/libcamera/geometry.h index edda42cf..7d4b8bcf 100644 --- a/include/libcamera/geometry.h +++ b/include/libcamera/geometry.h @@ -41,6 +41,7 @@ struct Size { unsigned int width; unsigned int height; + bool isNull() const { return !width && !height; } const std::string toString() const; }; |