Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/python_api/examples/gpu.2.py')
-rw-r--r--doc/python_api/examples/gpu.2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/python_api/examples/gpu.2.py b/doc/python_api/examples/gpu.2.py
index 4bee9acebe3..565ec5d5d0c 100644
--- a/doc/python_api/examples/gpu.2.py
+++ b/doc/python_api/examples/gpu.2.py
@@ -23,10 +23,11 @@ fragment_shader = '''
uniform float brightness;
in vec3 pos;
+ out vec4 FragColor;
void main()
{
- gl_FragColor = vec4(pos * brightness, 1.0);
+ FragColor = vec4(pos * brightness, 1.0);
}
'''