diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-09-07 16:39:47 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-07 20:37:04 +0300 |
commit | 360489c75167d47653bc34ad9ba9a65076bf384c (patch) | |
tree | f4d28e3add0893ae47146314d893e925dc30120e /source/blender/gpu/intern/gpu_init_exit.c | |
parent | 9cac181fbead28c0bf963bf2b9f82fddf3c2b7df (diff) |
GPUPlatform: GL backend isolation
Part of the vulkan implementation T68990.
Pretty straight forward. Just move the GL code inside the GLBackend and
make the GPUPlatformGlobal a class object.
Diffstat (limited to 'source/blender/gpu/intern/gpu_init_exit.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_init_exit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_init_exit.c b/source/blender/gpu/intern/gpu_init_exit.c index 4cb43db9bce..f265d841922 100644 --- a/source/blender/gpu/intern/gpu_init_exit.c +++ b/source/blender/gpu/intern/gpu_init_exit.c @@ -48,7 +48,6 @@ void GPU_init(void) } initialized = true; - gpu_platform_init(); gpu_extensions_init(); /* must come first */ gpu_codegen_init(); @@ -81,7 +80,6 @@ void GPU_exit(void) gpu_codegen_exit(); gpu_extensions_exit(); - gpu_platform_exit(); /* must come last */ initialized = false; } |