1
1

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
This commit is contained in:
2022-05-19 21:10:17 +02:00
parent bc6965cb98
commit 1a627d528c

View File

@@ -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.