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:
authorJeroen Bakker <jeroen@blender.org>2021-05-10 08:59:10 +0300
committerJeroen Bakker <jeroen@blender.org>2021-05-10 08:59:10 +0300
commitc63d40c165329a6f52fe01d8b395768db84ae5db (patch)
tree1cf577fb1e3d10ddfe05a655a27ebf93dfcb53e4 /source/blender/gpu
parent2f61602497aa4e0a130b08364458c5c67bd188ef (diff)
Enable CLog for GPU test cases.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/tests/gpu_testing.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/gpu/tests/gpu_testing.cc b/source/blender/gpu/tests/gpu_testing.cc
index b9fc78dc084..6b0a78e797d 100644
--- a/source/blender/gpu/tests/gpu_testing.cc
+++ b/source/blender/gpu/tests/gpu_testing.cc
@@ -2,6 +2,9 @@
#include "testing/testing.h"
+#include "CLG_log.h"
+
+#include "CLG_log.h"
#include "GPU_context.h"
#include "GPU_init_exit.h"
#include "gpu_testing.hh"
@@ -13,6 +16,7 @@ namespace blender::gpu {
void GPUTest::SetUp()
{
GHOST_GLSettings glSettings = {0};
+ CLG_init();
ghost_system = GHOST_CreateSystem();
ghost_context = GHOST_CreateOpenGLContext(ghost_system, glSettings);
context = GPU_context_create(nullptr);
@@ -26,6 +30,7 @@ void GPUTest::TearDown()
GPU_context_discard(context);
GHOST_DisposeOpenGLContext(ghost_system, ghost_context);
GHOST_DisposeSystem(ghost_system);
+ CLG_exit();
}
} // namespace blender::gpu