diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-10-08 18:58:38 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-10-08 18:58:38 +0300 |
commit | f23bf4cb109cb8f39f873c4f80acbec3f33b098c (patch) | |
tree | 99e084e178236efd4458481b3ab4ab737a567835 /source/blender/python | |
parent | 479dc766b5f9eee29fe86b869ee0fa9edb95e5fc (diff) |
Revert "BGL: Workaround broken bgl usage caused by GPU refactor"
This reverts commit f12b0373f322b710b9fa5cebb67bdf363ff90e9f.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/generic/bgl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/python/generic/bgl.c b/source/blender/python/generic/bgl.c index e9a58288c5e..8a5c4f4a11b 100644 --- a/source/blender/python/generic/bgl.c +++ b/source/blender/python/generic/bgl.c @@ -29,8 +29,6 @@ #include "BLI_utildefines.h" #include "MEM_guardedalloc.h" -#include "GPU_state.h" - #include "../generic/py_capi_utils.h" #include "glew-mx.h" @@ -1111,7 +1109,6 @@ static PyObject *Buffer_repr(Buffer *self) if (!PyArg_ParseTuple(args, arg_str arg_list, arg_ref arg_list)) { \ return NULL; \ } \ - GPU_bgl_start(); \ ret_set_##ret gl##funcname(arg_var arg_list); \ ret_ret_##ret; \ } |