Fix test cases by reducing the severity of the bgl error message to warning.
This commit is contained in:
parent
41b33f8968
commit
3f627c38a2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue