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:
authorDalai Felinto <dfelinto@gmail.com>2017-05-19 12:47:55 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-05-19 15:14:46 +0300
commit60fc04fb9b4f112998ac42395a17b56cc6edec5c (patch)
tree929dd4d2868800a6c18ecdc4590590a22a853a0a /source/blender/gpu/GPU_matrix.h
parentbad8b91fd3c7c6f458f0830520b21fe628565cf2 (diff)
Remove reference to WITH_GL_PROFILE_CORE
There is no more point of keep those around. ES20 may need special case when/if we dabble with it again. Meanwhile no point on polluting the code with this. (ghost still has reference for the PROFILE, but that's reasonable)
Diffstat (limited to 'source/blender/gpu/GPU_matrix.h')
-rw-r--r--source/blender/gpu/GPU_matrix.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/gpu/GPU_matrix.h b/source/blender/gpu/GPU_matrix.h
index 2d43d1ad573..9512587c754 100644
--- a/source/blender/gpu/GPU_matrix.h
+++ b/source/blender/gpu/GPU_matrix.h
@@ -43,11 +43,7 @@ extern "C" {
/* For now we support the legacy matrix stack in gpuGetMatrix functions.
* Will remove this after switching to core profile, which can happen after
* we convert all code to use the API in this file. */
-#ifdef WITH_GL_PROFILE_CORE
-# define SUPPORT_LEGACY_MATRIX 0
-#else
-# define SUPPORT_LEGACY_MATRIX 1
-#endif
+#define SUPPORT_LEGACY_MATRIX 0
void gpuMatrixReset(void); /* to Identity transform & empty stack */