Cleanup: GPU: Remove unused init/exit functions
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user