[Bf-blender-cvs] [98fc3f263cf] master: Cleanup: GLBackend: Fix missing override keywords producing warnings
Clément Foucault
noreply at git.blender.org
Sun Sep 6 22:15:36 CEST 2020
Commit: 98fc3f263cf18a1222d7ffe7dc0e1c0a1fa47ecd
Author: Clément Foucault
Date: Sun Sep 6 03:30:00 2020 +0200
Branches: master
https://developer.blender.org/rB98fc3f263cf18a1222d7ffe7dc0e1c0a1fa47ecd
Cleanup: GLBackend: Fix missing override keywords producing warnings
===================================================================
M source/blender/gpu/opengl/gl_backend.hh
===================================================================
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);
};
More information about the Bf-blender-cvs
mailing list