Cleanup: GPU: Remove GPU_shaderinterface_uniform_ensure

This commit is contained in:
2020-06-02 12:29:20 +02:00
parent 38cfcdd51b
commit b82cb0ad32
17 changed files with 26 additions and 52 deletions

View File

@@ -78,7 +78,7 @@ static int bpygpu_uniform_location_get(GPUShader *shader,
const char *name,
const char *error_prefix)
{
int uniform = GPU_shader_get_uniform_ensure(shader, name);
int uniform = GPU_shader_get_uniform(shader, name);
if (uniform == -1) {
PyErr_Format(PyExc_ValueError, "%s: uniform %.32s not found", error_prefix, name);