PyAPI: remove GPUVertFormat() creation from a list

We already have `attr_add` method,
best not have two ways to do the same thing.

See: D3830
This commit is contained in:
2018-10-29 11:08:55 +11:00
parent 02035c34b7
commit c750ebe113
3 changed files with 7 additions and 109 deletions

View File

@@ -37,7 +37,5 @@ typedef struct BPyGPUVertFormat {
} BPyGPUVertFormat;
PyObject *BPyGPUVertFormat_CreatePyObject(struct GPUVertFormat *fmt);
bool bpygpu_vertformat_from_PyList(
const PyListObject *list, const char *error_prefix, GPUVertFormat *r_fmt);
#endif /* __GPU_PY_VERTEX_FORMAT_H__ */