Cleanup: GPU: Remove prefix 'e' from enum types
_No response_ Pull Request: https://projects.blender.org/blender/blender/pulls/146034
This commit is contained in:
committed by
Clément Foucault
parent
5b02341a11
commit
680fec144c
@@ -961,8 +961,7 @@ static PyObject *pygpu_shader_from_builtin(PyObject * /*self*/, PyObject *args,
|
||||
}
|
||||
|
||||
blender::gpu::Shader *shader = GPU_shader_get_builtin_shader_with_config(
|
||||
eGPUBuiltinShader(pygpu_bultinshader.value_found),
|
||||
eGPUShaderConfig(pygpu_config.value_found));
|
||||
GPUBuiltinShader(pygpu_bultinshader.value_found), GPUShaderConfig(pygpu_config.value_found));
|
||||
|
||||
if (shader == nullptr) {
|
||||
PyErr_SetString(PyExc_ValueError, "Builtin shader doesn't exist in the requested config");
|
||||
|
||||
Reference in New Issue
Block a user