projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
quick backup of the renderer - things missing
[demo]
/
src
/
opengl
/
shader-gl.h
diff --git
a/src/opengl/shader-gl.h
b/src/opengl/shader-gl.h
index
ea3b1c1
..
e5e6390
100644
(file)
--- a/
src/opengl/shader-gl.h
+++ b/
src/opengl/shader-gl.h
@@
-13,8
+13,8
@@
public:
ShaderGL();
virtual ~ShaderGL();
ShaderGL();
virtual ~ShaderGL();
- virtual void destroy();
- virtual void attach(unsigned int prog);
+ virtual void destroy() override;
+ virtual void attach(unsigned int prog) override;
};
class ShaderProgramGL : public ShaderProgram {
};
class ShaderProgramGL : public ShaderProgram {
@@
-27,9
+27,9
@@
public:
void destroy();
void delete_shaders();
void destroy();
void delete_shaders();
- virtual bool link();
- virtual bool load(const char *vfname, const char *ffname);
- virtual void use();
+ virtual bool link() override;
+ virtual bool load(const char *vfname, const char *ffname) override;
+ virtual void use() override;
};
#endif // SHADER_GL_H_
\ No newline at end of file
};
#endif // SHADER_GL_H_
\ No newline at end of file