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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user