We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4058e1a commit 3331067Copy full SHA for 3331067
demosys/context/headless.py
@@ -19,6 +19,7 @@ def __init__(self):
19
20
self._close = False
21
self.ctx = moderngl.create_standalone_context()
22
+ context.WINDOW = self
23
24
self.fbo = FBO()
25
self.fbo.ctx = self.ctx
@@ -27,7 +28,6 @@ def __init__(self):
27
28
depth_attachment=self.ctx.depth_texture((self.width, self.height)),
29
)
30
# self.fbo.default_framebuffer = True
- context.WINDOW = self
31
self.set_default_viewport()
32
33
def draw(self, current_time, frame_time):
0 commit comments