diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-05-19 22:10:17 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-05-19 22:21:28 +0300 |
commit | 1a627d528cf91a58893e31ce89a6114eec2a6630 (patch) | |
tree | 87691e7b7769dc9b3269fc54f48c796e2ed0ad55 | |
parent | bc6965cb981e12855354bbdcf5dcdd5edff3ff4a (diff) |
Python API: warn that the bgl module is deprecated in the docs
This was already mentioned in the release notes but not the API docs.
Ref T80730
-rw-r--r-- | doc/python_api/rst/bgl.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/python_api/rst/bgl.rst b/doc/python_api/rst/bgl.rst index 2369a422396..48d7d31489c 100644 --- a/doc/python_api/rst/bgl.rst +++ b/doc/python_api/rst/bgl.rst @@ -4,6 +4,12 @@ OpenGL Wrapper (bgl) .. module:: bgl +.. warning:: + + This module is deprecated and will be removed in a future release, + when OpenGL is replaced by Metal and Vulkan. + Use the graphics API independent :mod:`gpu` module instead. + This module wraps OpenGL constants and functions, making them available from within Blender Python. |