mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
change dtype to f1 float 1 byte
This commit is contained in:
parent
1a821d7013
commit
9a94781cf1
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
)
|
||||
]
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue