Commit: aee91769966e51adc7fb256eaea594160d413265 Author: Jeroen Bakker Date: Mon May 10 07:59:10 2021 +0200 Branches: temp-lineart-contained https://developer.blender.org/rBaee91769966e51adc7fb256eaea594160d413265
Enable CLog for GPU test cases. =================================================================== M source/blender/gpu/tests/gpu_testing.cc =================================================================== 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 _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs