Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-09-06 04:30:00 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-09-06 23:13:06 +0300
commit98fc3f263cf18a1222d7ffe7dc0e1c0a1fa47ecd (patch)
treefc18afba8be5b721a4d2036a8b62ccf461a33208 /source
parent4ea93029c65fd4cdb8b707494855120c0f792952 (diff)
Cleanup: GLBackend: Fix missing override keywords producing warnings
Diffstat (limited to 'source')
-rw-r--r--source/blender/gpu/opengl/gl_backend.hh16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/gpu/opengl/gl_backend.hh b/source/blender/gpu/opengl/gl_backend.hh
index a31a4a45f56..80fadb2fc0a 100644
--- a/source/blender/gpu/opengl/gl_backend.hh
+++ b/source/blender/gpu/opengl/gl_backend.hh
@@ -63,42 +63,42 @@ class GLBackend : public GPUBackend {
GLTexture::samplers_update();
};
- GPUContext *context_alloc(void *ghost_window)
+ GPUContext *context_alloc(void *ghost_window) override
{
return new GLContext(ghost_window, shared_orphan_list_);
};
- Batch *batch_alloc(void)
+ Batch *batch_alloc(void) override
{
return new GLBatch();
};
- DrawList *drawlist_alloc(int list_length)
+ DrawList *drawlist_alloc(int list_length) override
{
return new GLDrawList(list_length);
};
- FrameBuffer *framebuffer_alloc(const char *name)
+ FrameBuffer *framebuffer_alloc(const char *name) override
{
return new GLFrameBuffer(name);
};
- IndexBuf *indexbuf_alloc(void)
+ IndexBuf *indexbuf_alloc(void) override
{
return new GLIndexBuf();
};
- Shader *shader_alloc(const char *name)
+ Shader *shader_alloc(const char *name) override
{
return new GLShader(name);
};
- Texture *texture_alloc(const char *name)
+ Texture *texture_alloc(const char *name) override
{
return new GLTexture(name);
};
- UniformBuf *uniformbuf_alloc(int size, const char *name)
+ UniformBuf *uniformbuf_alloc(int size, const char *name) override
{
return new GLUniformBuf(size, name);
};