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:
authorClément Foucault <foucault.clem@gmail.com>2020-08-26 00:29:51 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-08-30 14:11:02 +0300
commit0850afb34e21c073eb2a4c7475eeab2684f30e43 (patch)
tree11bc9dadaff7ad95e1b858ac297525ad5b2d30f7 /source/blender/gpu/intern
parent6e901fd8fc5b89e52dc44fd87a782c4f47c9c3f5 (diff)
Cleanup: GPU: Remove unused init/exit functions
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r--source/blender/gpu/intern/gpu_framebuffer.cc8
-rw-r--r--source/blender/gpu/intern/gpu_init_exit.c2
-rw-r--r--source/blender/gpu/intern/gpu_private.h4
3 files changed, 0 insertions, 14 deletions
diff --git a/source/blender/gpu/intern/gpu_framebuffer.cc b/source/blender/gpu/intern/gpu_framebuffer.cc
index 2f39bb37acd..5a575f9e5f5 100644
--- a/source/blender/gpu/intern/gpu_framebuffer.cc
+++ b/source/blender/gpu/intern/gpu_framebuffer.cc
@@ -125,14 +125,6 @@ static void gpu_print_framebuffer_error(GLenum status, char err_out[256])
}
}
-void gpu_framebuffer_module_init(void)
-{
-}
-
-void gpu_framebuffer_module_exit(void)
-{
-}
-
GPUFrameBuffer *GPU_framebuffer_active_get(void)
{
GPUContext *ctx = GPU_context_active_get();
diff --git a/source/blender/gpu/intern/gpu_init_exit.c b/source/blender/gpu/intern/gpu_init_exit.c
index ba0da95eb9d..9ae13771842 100644
--- a/source/blender/gpu/intern/gpu_init_exit.c
+++ b/source/blender/gpu/intern/gpu_init_exit.c
@@ -53,7 +53,6 @@ void GPU_init(void)
gpu_codegen_init();
gpu_material_library_init();
- gpu_framebuffer_module_init();
if (G.debug & G_DEBUG_GPU) {
gpu_debug_init();
@@ -86,7 +85,6 @@ void GPU_exit(void)
gpu_debug_exit();
}
- gpu_framebuffer_module_exit();
gpu_material_library_exit();
gpu_codegen_exit();
diff --git a/source/blender/gpu/intern/gpu_private.h b/source/blender/gpu/intern/gpu_private.h
index ef96bedae4a..92663190b8f 100644
--- a/source/blender/gpu/intern/gpu_private.h
+++ b/source/blender/gpu/intern/gpu_private.h
@@ -36,10 +36,6 @@ void gpu_extensions_exit(void);
void gpu_debug_init(void);
void gpu_debug_exit(void);
-/* gpu_framebuffer.c */
-void gpu_framebuffer_module_init(void);
-void gpu_framebuffer_module_exit(void);
-
/* gpu_pbvh.c */
void gpu_pbvh_init(void);
void gpu_pbvh_exit(void);