diff --git a/headless_kivy_pi/__init__.py b/headless_kivy_pi/__init__.py index 557cc00..c093bc9 100644 --- a/headless_kivy_pi/__init__.py +++ b/headless_kivy_pi/__init__.py @@ -252,7 +252,7 @@ def __init__(self: HeadlessWidget, **kwargs: Any) -> None: # noqa: ANN401 self.canvas = Canvas() with self.canvas: - self.fbo = Fbo(size=self.size) + self.fbo = Fbo(size=self.size, with_stencilbuffer=True) self.fbo_color = Color(1, 1, 1, 1) self.fbo_rect = Rectangle() diff --git a/pyproject.toml b/pyproject.toml index a4388bc..328b785 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "headless-kivy-pi" -version = "0.3.3" +version = "0.3.4" description = "" authors = ["Sassan Haradji "] license = "Apache-2.0"