fix building panda (#1694)

This commit is contained in:
Yonnji 2024-10-18 12:03:15 +00:00 committed by GitHub
parent ad97e88a54
commit c6ed5acdc2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ set_shader_inputs(PyObject *args, PyObject *kwargs) {
PyObject *key, *value;
Py_ssize_t pos = 0;
Py_BEGIN_CRITICAL_SECTION(dict);
Py_BEGIN_CRITICAL_SECTION(kwargs);
while (PyDict_Next(kwargs, &pos, &key, &value)) {
char *buffer;
Py_ssize_t length;