From 2bd9a28ff8d7a7bcb5481b8f9e029959b8b055e8 Mon Sep 17 00:00:00 2001 From: Germano Cavalcante Date: Fri, 30 Apr 2021 11:20:39 -0300 Subject: 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. --- source/blender/gpu/GPU_texture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/gpu/GPU_texture.h') diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h index 21d3070e252..f980c8fdcd7 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -270,7 +270,7 @@ bool GPU_texture_depth(const GPUTexture *tex); bool GPU_texture_stencil(const GPUTexture *tex); bool GPU_texture_integer(const GPUTexture *tex); -#if USE_PY_REFERENCES +#ifndef GPU_NO_USE_PY_REFERENCES void **GPU_texture_py_reference_get(GPUTexture *tex); void GPU_texture_py_reference_set(GPUTexture *tex, void **py_ref); #endif -- cgit v1.2.3