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.6.py')
-rw-r--r--doc/python_api/examples/gpu.6.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/python_api/examples/gpu.6.py b/doc/python_api/examples/gpu.6.py
index 334a606055a..be164a03028 100644
--- a/doc/python_api/examples/gpu.6.py
+++ b/doc/python_api/examples/gpu.6.py
@@ -21,6 +21,7 @@ batch = batch_for_shader(
},
)
+
def draw():
shader.bind()
shader.uniform_sampler("image", texture)