diff options
Diffstat (limited to 'doc/python_api/examples/gpu.6.py')
-rw-r--r-- | doc/python_api/examples/gpu.6.py | 1 |
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) |