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
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/gpu/opengl/gl_batch.hh')
-rw-r--r--source/blender/gpu/opengl/gl_batch.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/gpu/opengl/gl_batch.hh b/source/blender/gpu/opengl/gl_batch.hh
index a2b5f8fc15e..4e6e25cdb0f 100644
--- a/source/blender/gpu/opengl/gl_batch.hh
+++ b/source/blender/gpu/opengl/gl_batch.hh
@@ -91,15 +91,15 @@ class GLVaoCache {
*/
void insert(const GLShaderInterface *interface, GLuint vao_id);
void remove(const GLShaderInterface *interface);
- void clear(void);
+ void clear();
private:
- void init(void);
+ void init();
/**
* The #GLVaoCache object is only valid for one #GLContext.
* Reset the cache if trying to draw in another context;.
*/
- void context_check(void);
+ void context_check();
};
class GLBatch : public Batch {
@@ -113,7 +113,7 @@ class GLBatch : public Batch {
/* Convenience getters. */
- GLIndexBuf *elem_(void) const
+ GLIndexBuf *elem_() const
{
return static_cast<GLIndexBuf *>(unwrap(elem));
}