diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-08-05 15:10:08 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-08-05 15:10:08 +0300 |
commit | 42f423387124c0ebcf222c2384c83c6028042b71 (patch) | |
tree | 5da03915f7c25981a632766b2c65a7bedfd990cc /doc/python_api/examples/gpu.8.py | |
parent | 1cf5c5085eda5e6db677495844c8825648195156 (diff) | |
parent | 229fe01a152124308ad8552e6b792b9ebdaeec5a (diff) |
Merge branch 'blender-v2.90-release'
Diffstat (limited to 'doc/python_api/examples/gpu.8.py')
-rw-r--r-- | doc/python_api/examples/gpu.8.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/python_api/examples/gpu.8.py b/doc/python_api/examples/gpu.8.py index 470bd8a2dad..e67c601def9 100644 --- a/doc/python_api/examples/gpu.8.py +++ b/doc/python_api/examples/gpu.8.py @@ -25,6 +25,7 @@ RING_AMOUNT = 10 offscreen = gpu.types.GPUOffScreen(WIDTH, HEIGHT) with offscreen.bind(): + bgl.glClearColor(0.0, 0.0, 0.0, 0.0) bgl.glClear(bgl.GL_COLOR_BUFFER_BIT) with gpu.matrix.push_pop(): # reset matrices -> use normalized device coordinates [-1, 1] |