change dtype to f1 float 1 byte

This commit is contained in:
MrDiver 2023-09-11 01:29:00 +02:00
commit 9a94781cf1

View file

@ -207,14 +207,14 @@ class OpenGLRenderer(Renderer):
self.target_fbo = self.ctx.simple_framebuffer(
(self.pixel_width, self.pixel_height),
samples=self.samples,
dtype="f4",
dtype="f1",
components=4,
)
self.output_fbo = self.ctx.framebuffer(
color_attachments=[
self.ctx.renderbuffer(
(self.pixel_width, self.pixel_height), dtype="f4", components=4
(self.pixel_width, self.pixel_height), dtype="f1", components=4
)
]
)