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:
authorJulian Eisel <eiseljulian@gmail.com>2019-08-07 02:46:35 +0300
committerJulian Eisel <eiseljulian@gmail.com>2019-08-07 02:55:16 +0300
commit85c843b115e7e6a4472143255495b542be1c3c1a (patch)
tree0da6d5c6f37145d9ed8257bb8ac4da3b38fc2ba3 /source/blender/gpu
parentf4e27bc2c9819e43d9593167e7fb22b1ec948f85 (diff)
Remove compiler fix for unsupported MSVC version
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_context.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/gpu/intern/gpu_context.cpp b/source/blender/gpu/intern/gpu_context.cpp
index a0e03e61d5d..97f9e52f944 100644
--- a/source/blender/gpu/intern/gpu_context.cpp
+++ b/source/blender/gpu/intern/gpu_context.cpp
@@ -88,12 +88,7 @@ struct GPUContext {
}
};
-#if defined(_MSC_VER) && (_MSC_VER == 1800)
-# define thread_local __declspec(thread)
-thread_local GPUContext *active_ctx = NULL;
-#else
static thread_local GPUContext *active_ctx = NULL;
-#endif
static void orphans_add(GPUContext *ctx, std::vector<GLuint> *orphan_list, GLuint id)
{