diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-08-08 02:18:18 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-08-08 02:30:33 +0300 |
commit | cb7ea2ccfbb5d81083313c21d6b85a9c85db67d4 (patch) | |
tree | af7baa1dc3438da8f349bd38c2a65f9caad50bf3 /source/blender/gpu/intern/gpu_init_exit.c | |
parent | 1dd737759639c63d3279be774202585de778dac5 (diff) |
GPUBackend: Add new GPUBackend object to manage GL object allocations
This just set a global object responsible for allocating new objects
in a thread safe way without needing any GPUContext bound to this
thread.
This also introduce the GLContext which will contain all the GL related
functions for the current context.
# Conflicts:
# source/blender/gpu/intern/gpu_context.cc
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 462a1d395c2..ba0da95eb9d 100644 --- a/source/blender/gpu/intern/gpu_init_exit.c +++ b/source/blender/gpu/intern/gpu_init_exit.c @@ -93,8 +93,6 @@ void GPU_exit(void) gpu_extensions_exit(); gpu_platform_exit(); /* must come last */ - GPU_backend_exit(); - initialized = false; } |