Cleanup: GPU: Remove unused init/exit functions

This commit is contained in:
2020-08-25 23:29:51 +02:00
parent 6e901fd8fc
commit 0850afb34e
3 changed files with 0 additions and 14 deletions

View File

@@ -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();

View File

@@ -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();

View File

@@ -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);