diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2019-08-07 02:46:35 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2019-08-07 02:55:16 +0300 |
commit | 85c843b115e7e6a4472143255495b542be1c3c1a (patch) | |
tree | 0da6d5c6f37145d9ed8257bb8ac4da3b38fc2ba3 /source/blender/gpu | |
parent | f4e27bc2c9819e43d9593167e7fb22b1ec948f85 (diff) |
Remove compiler fix for unsupported MSVC version
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_context.cpp | 5 |
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) { |