Fix accidental lines removed in the last commit

This commit is contained in:
Germano Cavalcante 2021-04-30 11:03:39 -03:00
parent a35d33d520
commit a711aa5b3c
1 changed files with 3 additions and 0 deletions

View File

@ -654,6 +654,9 @@ PyObject *BPyGPUFrameBuffer_CreatePyObject(GPUFrameBuffer *fb, bool shared_refer
UNUSED_VARS(shared_reference);
#endif
self = PyObject_New(BPyGPUFrameBuffer, &BPyGPUFrameBuffer_Type);
self->fb = fb;
#if GPU_USE_PY_REFERENCES
self->shared_reference = shared_reference;