Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano Cavalcantemano-wii <germano.costa@ig.com.br>2021-01-11 03:05:17 +0300
committerGermano Cavalcantemano-wii <germano.costa@ig.com.br>2021-01-11 03:07:04 +0300
commitaf88d23ffaab650f050886afc7595a8f6bff08b8 (patch)
tree92ad61d638000bd18d816438c7ae2a8a981eae2f /source/blender/python/gpu/gpu_py_types.c
parentd4330ae70be6a924d40ae7efccb988d51109c5c4 (diff)
Revert "Fix typo; Documentation; Expose layer for framebuffer attachament; Add framebuffer viewport setter; Remove framebuffer restore; Expose framebuffer push/pop stack API; Remove blend modes; Remove depth_range_set; Implement GPU_face_culling, GPU_front_facing, GPU_point_size, GPU_line_width, GPU_viewport, GPU_color_mask and GPU_depth_mask"
This reverts commit 9db3d1951da15254efbbcf028176facb78118ec1. This was an accidental commit of the patch D8826
Diffstat (limited to 'source/blender/python/gpu/gpu_py_types.c')
-rw-r--r--source/blender/python/gpu/gpu_py_types.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/python/gpu/gpu_py_types.c b/source/blender/python/gpu/gpu_py_types.c
index e247f019870..165af47b4b8 100644
--- a/source/blender/python/gpu/gpu_py_types.c
+++ b/source/blender/python/gpu/gpu_py_types.c
@@ -61,12 +61,6 @@ PyObject *BPyInit_gpu_types(void)
if (PyType_Ready(&BPyGPUShader_Type) < 0) {
return NULL;
}
- if (PyType_Ready(&BPyGPUTexture_Type) < 0) {
- return NULL;
- }
- if (PyType_Ready(&BPyGPUFrameBuffer_Type) < 0) {
- return NULL;
- }
#define MODULE_TYPE_ADD(s, t) \
PyModule_AddObject(s, t.tp_name, (PyObject *)&t); \
@@ -78,8 +72,6 @@ PyObject *BPyInit_gpu_types(void)
MODULE_TYPE_ADD(submodule, BPyGPUBatch_Type);
MODULE_TYPE_ADD(submodule, BPyGPUOffScreen_Type);
MODULE_TYPE_ADD(submodule, BPyGPUShader_Type);
- MODULE_TYPE_ADD(submodule, BPyGPUTexture_Type);
- MODULE_TYPE_ADD(submodule, BPyGPUFrameBuffer_Type);
#undef MODULE_TYPE_ADD