A community-maintained Python framework for creating mathematical animations.
Fixed OpenGL examples for MacOS (#1634)
Jason Villanueva7651119b5fbe
diff --git a/example_scenes/opengl.py b/example_scenes/opengl.pyindex 1ca334bef..68ce6a189 100644--- a/example_scenes/opengl.py+++ b/example_scenes/opengl.py@@ -153,10 +153,10 @@ class InlineFullScreenQuad(Scene):// and the Saturation to the radiuscolor = 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