diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-09-07 21:08:25 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-07 21:17:45 +0300 |
commit | 19f56cfe6c59e3a54aaf7499fd9072a8790171b7 (patch) | |
tree | 3db73ef6ceb2586175249344bf4564457ad2fbc5 /source/blender/gpu/opengl/gl_uniform_buffer.cc | |
parent | 58353834f441b8b4ca91dcd4ec94ac49bbbf5ab0 (diff) |
Cleanup: GLBackend: Move buf_free and tex_free to GLContext
This makes it easier to follow.
Also removes the GL related functions inside gpu_context.cc.
Diffstat (limited to 'source/blender/gpu/opengl/gl_uniform_buffer.cc')
-rw-r--r-- | source/blender/gpu/opengl/gl_uniform_buffer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/opengl/gl_uniform_buffer.cc b/source/blender/gpu/opengl/gl_uniform_buffer.cc index 8c8fac44fdc..a06fadf4785 100644 --- a/source/blender/gpu/opengl/gl_uniform_buffer.cc +++ b/source/blender/gpu/opengl/gl_uniform_buffer.cc @@ -45,7 +45,7 @@ GLUniformBuf::GLUniformBuf(size_t size, const char *name) : UniformBuf(size, nam GLUniformBuf::~GLUniformBuf() { - GLBackend::get()->buf_free(ubo_id_); + GLContext::buf_free(ubo_id_); } /** \} */ |