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
path: root/doc
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-05-19 22:10:17 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-05-19 22:21:28 +0300
commit1a627d528cf91a58893e31ce89a6114eec2a6630 (patch)
tree87691e7b7769dc9b3269fc54f48c796e2ed0ad55 /doc
parentbc6965cb981e12855354bbdcf5dcdd5edff3ff4a (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
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/rst/bgl.rst6
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.