diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2021-04-30 17:20:39 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2021-04-30 17:20:39 +0300 |
commit | 2bd9a28ff8d7a7bcb5481b8f9e029959b8b055e8 (patch) | |
tree | 769b76c96d80d987e16f80bb307fa4cf87b3a5bb /source/blender/python/gpu/gpu_py_framebuffer.h | |
parent | a711aa5b3c715da29546d860f4fde24c27e34593 (diff) |
Cleanup: Rename `#if GPU_USE_PY_REFERENCES` to `#ifndef GPU_NO_USE_PY_REFERENCES`
This is safer for incremental build.
And there was already a macro `GPU_USE_PY_REFERENCES` used elsewhere.
Diffstat (limited to 'source/blender/python/gpu/gpu_py_framebuffer.h')
-rw-r--r-- | source/blender/python/gpu/gpu_py_framebuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/gpu/gpu_py_framebuffer.h b/source/blender/python/gpu/gpu_py_framebuffer.h index 0049cc2fac7..6727328518c 100644 --- a/source/blender/python/gpu/gpu_py_framebuffer.h +++ b/source/blender/python/gpu/gpu_py_framebuffer.h @@ -29,7 +29,7 @@ extern PyTypeObject BPyGPUFrameBuffer_Type; typedef struct BPyGPUFrameBuffer { PyObject_HEAD struct GPUFrameBuffer *fb; -#if GPU_USE_PY_REFERENCES +#ifndef GPU_NO_USE_PY_REFERENCES bool shared_reference; #endif } BPyGPUFrameBuffer; |