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/gpu_context.cpp')
-rw-r--r--source/blender/gpu/intern/gpu_context.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_context.cpp b/source/blender/gpu/intern/gpu_context.cpp
index 8e489fbac39..4bfc44327c2 100644
--- a/source/blender/gpu/intern/gpu_context.cpp
+++ b/source/blender/gpu/intern/gpu_context.cpp
@@ -49,7 +49,8 @@ extern "C" {
extern int BLI_thread_is_main(void); /* Blender-specific function */
}
-static bool thread_is_main() {
+static bool thread_is_main()
+{
/* "main" here means the GL context's thread */
return BLI_thread_is_main();
}