GPU Python: Use string literals in shader.from_builtin and shader.code_from_builtin.

Also, the gpu.shader.builtin submodule becomes obsolete, so it has been removed.
This commit is contained in:
2018-10-09 12:06:42 -03:00
parent 90e360c39f
commit 8fc8131bc9
3 changed files with 39 additions and 60 deletions

View File

@@ -37,6 +37,5 @@ typedef struct BPyGPUShader {
PyObject *BPyGPUShader_CreatePyObject(struct GPUShader *shader, bool is_builtin);
PyObject *BPyInit_gpu_shader(void);
PyObject *BPyInit_gpu_shader_builtin(void);
#endif /* __GPU_PY_SHADER_H__ */