Revert file rename from T59773 fix
Mixing file rename with other changes should be avoided. Using 'module_py_api' convention here is in keeping with imbuf, idprop, blf & bmesh. No reason for gpu to have a different convention.
This commit is contained in:
parent
945007b32e
commit
d07bc44a96
|
@ -34,7 +34,7 @@ set(INC_SYS
|
|||
)
|
||||
|
||||
set(SRC
|
||||
gpu_py.c
|
||||
gpu_py_api.c
|
||||
gpu_py_batch.c
|
||||
gpu_py_element.c
|
||||
gpu_py_matrix.c
|
||||
|
@ -45,7 +45,7 @@ set(SRC
|
|||
gpu_py_vertex_buffer.c
|
||||
gpu_py_vertex_format.c
|
||||
|
||||
gpu_py.h
|
||||
gpu_py_api.h
|
||||
gpu_py_batch.h
|
||||
gpu_py_element.h
|
||||
gpu_py_matrix.h
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
#include "gpu_py_select.h"
|
||||
#include "gpu_py_types.h"
|
||||
|
||||
#include "gpu_py.h" /* own include */
|
||||
#include "gpu_py_api.h" /* own include */
|
||||
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
|
@ -22,8 +22,8 @@
|
|||
* \ingroup bpygpu
|
||||
*/
|
||||
|
||||
#ifndef __GPU_PY_H__
|
||||
#define __GPU_PY_H__
|
||||
#ifndef __GPU_PY_API_H__
|
||||
#define __GPU_PY_API_H__
|
||||
|
||||
bool bpygpu_is_initialized(void);
|
||||
|
||||
|
@ -31,4 +31,4 @@ int bpygpu_ParsePrimType(PyObject *o, void *p);
|
|||
|
||||
PyObject *BPyInit_gpu(void);
|
||||
|
||||
#endif /* __GPU_PY_H__ */
|
||||
#endif /* __GPU_PY_API_H__ */
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
#include "../generic/py_capi_utils.h"
|
||||
|
||||
#include "gpu_py.h"
|
||||
#include "gpu_py_api.h"
|
||||
#include "gpu_py_shader.h"
|
||||
#include "gpu_py_vertex_buffer.h"
|
||||
#include "gpu_py_element.h"
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#include "../generic/py_capi_utils.h"
|
||||
#include "../generic/python_utildefines.h"
|
||||
|
||||
#include "gpu_py.h"
|
||||
#include "gpu_py_api.h"
|
||||
#include "gpu_py_element.h" /* own include */
|
||||
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
|
||||
#include "../generic/py_capi_utils.h"
|
||||
|
||||
#include "gpu_py.h"
|
||||
#include "gpu_py_api.h"
|
||||
#include "gpu_py_offscreen.h" /* own include */
|
||||
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#include "../generic/python_utildefines.h"
|
||||
#include "../mathutils/mathutils.h"
|
||||
|
||||
#include "gpu_py.h"
|
||||
#include "gpu_py_api.h"
|
||||
#include "gpu_py_shader.h" /* own include */
|
||||
#include "gpu_py_vertex_format.h"
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
#include "../generic/blf_py_api.h"
|
||||
#include "../generic/idprop_py_api.h"
|
||||
#include "../generic/imbuf_py_api.h"
|
||||
#include "../gpu/gpu_py.h"
|
||||
#include "../gpu/gpu_py_api.h"
|
||||
#include "../bmesh/bmesh_py_api.h"
|
||||
#include "../mathutils/mathutils.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue