Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano Cavalcante <germano.costa@ig.com.br>2021-04-30 17:20:39 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2021-04-30 17:20:39 +0300
commit2bd9a28ff8d7a7bcb5481b8f9e029959b8b055e8 (patch)
tree769b76c96d80d987e16f80bb307fa4cf87b3a5bb /source/blender/gpu/GPU_common.h
parenta711aa5b3c715da29546d860f4fde24c27e34593 (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/gpu/GPU_common.h')
-rw-r--r--source/blender/gpu/GPU_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/GPU_common.h b/source/blender/gpu/GPU_common.h
index bc57a381f00..c00bf581e8c 100644
--- a/source/blender/gpu/GPU_common.h
+++ b/source/blender/gpu/GPU_common.h
@@ -24,7 +24,7 @@
#pragma once
#define PROGRAM_NO_OPTI 0
-#define USE_PY_REFERENCES 1
+//#define GPU_NO_USE_PY_REFERENCES
#if defined(NDEBUG)
# define TRUST_NO_ONE 0