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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2020-02-12 14:48:44 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2020-02-15 22:33:16 +0300
commit007f1b74a67302fb4c164eb26969419434a98aee (patch)
treef56ba0eecbbc11fc22e6a47aa0d76582e553e3da /source/blender/gpu/intern/gpu_init_exit.c
parent6701db773e660e5306e305a1b10f8ea52955f06b (diff)
Cleanup: split off code from gpu_codegen.c into smaller files
Diffstat (limited to 'source/blender/gpu/intern/gpu_init_exit.c')
-rw-r--r--source/blender/gpu/intern/gpu_init_exit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_init_exit.c b/source/blender/gpu/intern/gpu_init_exit.c
index 7b6016e11cb..c99b7fc8a67 100644
--- a/source/blender/gpu/intern/gpu_init_exit.c
+++ b/source/blender/gpu/intern/gpu_init_exit.c
@@ -29,6 +29,7 @@
#include "BKE_global.h"
#include "intern/gpu_codegen.h"
+#include "intern/gpu_material_library.h"
#include "intern/gpu_private.h"
/**
@@ -50,6 +51,7 @@ void GPU_init(void)
gpu_extensions_init(); /* must come first */
gpu_codegen_init();
+ gpu_material_library_init();
gpu_framebuffer_module_init();
if (G.debug & G_DEBUG_GPU) {
@@ -80,6 +82,7 @@ void GPU_exit(void)
}
gpu_framebuffer_module_exit();
+ gpu_material_library_exit();
gpu_codegen_exit();
gpu_extensions_exit();