diff options
author | Germano Cavalcantemano-wii <germano.costa@ig.com.br> | 2021-01-11 03:05:17 +0300 |
---|---|---|
committer | Germano Cavalcantemano-wii <germano.costa@ig.com.br> | 2021-01-11 03:07:04 +0300 |
commit | af88d23ffaab650f050886afc7595a8f6bff08b8 (patch) | |
tree | 92ad61d638000bd18d816438c7ae2a8a981eae2f /source/blender/python/gpu/gpu_py_api.c | |
parent | d4330ae70be6a924d40ae7efccb988d51109c5c4 (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_api.c')
-rw-r--r-- | source/blender/python/gpu/gpu_py_api.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/python/gpu/gpu_py_api.c b/source/blender/python/gpu/gpu_py_api.c index 70bf04c0992..33130291162 100644 --- a/source/blender/python/gpu/gpu_py_api.c +++ b/source/blender/python/gpu/gpu_py_api.c @@ -35,7 +35,6 @@ #include "gpu_py_matrix.h" #include "gpu_py_select.h" -#include "gpu_py_state.h" #include "gpu_py_types.h" #include "gpu_py_api.h" /* own include */ @@ -135,12 +134,6 @@ PyObject *BPyInit_gpu(void) PyModule_AddObject(mod, "shader", (submodule = BPyInit_gpu_shader())); PyDict_SetItem(sys_modules, PyModule_GetNameObject(submodule), submodule); - PyModule_AddObject(mod, "framebuffer", (submodule = BPyInit_gpu_framebuffer())); - PyDict_SetItem(sys_modules, PyModule_GetNameObject(submodule), submodule); - - PyModule_AddObject(mod, "state", (submodule = BPyInit_gpu_state())); - PyDict_SetItem(sys_modules, PyModule_GetNameObject(submodule), submodule); - return mod; } |