Fix test cases by reducing the severity of the bgl error message to warning.

This commit is contained in:
Jeroen Bakker 2023-01-19 08:25:28 +01:00
parent 41b33f8968
commit 3f627c38a2
1 changed files with 3 additions and 3 deletions

View File

@ -2644,9 +2644,9 @@ PyObject *BPyInit_bgl(void)
}
if (GPU_backend_get_type() != GPU_BACKEND_OPENGL) {
CLOG_ERROR(&LOG,
"'bgl' imported without an OpenGL backend. Please update your add-ons to use the "
"'gpu' module. In Blender 3.7 'bgl' will be removed.");
CLOG_WARN(&LOG,
"'bgl' imported without an OpenGL backend. Please update your add-ons to use the "
"'gpu' module. In Blender 3.7 'bgl' will be removed.");
}
PyModule_AddObject(submodule, "Buffer", (PyObject *)&BGL_bufferType);