mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
Fixed OpenGL examples for MacOS (#1634)
This commit is contained in:
parent
641c26b0c8
commit
7651119b5f
1 changed files with 2 additions and 2 deletions
|
|
@ -153,10 +153,10 @@ class InlineFullScreenQuad(Scene):
|
|||
// and the Saturation to the radius
|
||||
color = hsb2rgb(vec3((angle/TWO_PI)+0.5,radius,1.0));
|
||||
|
||||
gl_FragColor = vec4(color,1.0);
|
||||
fragColor = vec4(color,1.0);
|
||||
}
|
||||
""",
|
||||
output_color_variable="gl_FragColor",
|
||||
output_color_variable="fragColor",
|
||||
)
|
||||
surface.shader.set_uniform("u_resolution", (854.0, 480.0))
|
||||
shader_time = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue