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:
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r--source/blender/gpu/intern/gpu_context.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_context.cpp b/source/blender/gpu/intern/gpu_context.cpp
index ce3eb64fa37..9c41d232fb0 100644
--- a/source/blender/gpu/intern/gpu_context.cpp
+++ b/source/blender/gpu/intern/gpu_context.cpp
@@ -80,12 +80,14 @@ struct GPUContext {
#if TRUST_NO_ONE
pthread_t thread; /* Thread on which this context is active. */
bool thread_is_used;
+#endif
GPUContext() {
+#if TRUST_NO_ONE
thread_is_used = false;
+#endif
current_fbo = 0;
}
-#endif
};
#if defined(_MSC_VER) && (_MSC_VER == 1800)