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.7.py')
-rw-r--r--doc/python_api/examples/gpu.7.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/python_api/examples/gpu.7.py b/doc/python_api/examples/gpu.7.py
index d6055898807..80cda45e690 100644
--- a/doc/python_api/examples/gpu.7.py
+++ b/doc/python_api/examples/gpu.7.py
@@ -56,10 +56,11 @@ fragment_shader = '''
uniform sampler2D image;
in vec2 uvInterp;
+ out vec4 FragColor;
void main()
{
- gl_FragColor = texture(image, uvInterp);
+ FragColor = texture(image, uvInterp);
}
'''