aboutsummaryrefslogtreecommitdiffstats
path: root/src/events/render.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/render.hpp')
-rw-r--r--src/events/render.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/events/render.hpp b/src/events/render.hpp
index 7bb45df..07f5d64 100644
--- a/src/events/render.hpp
+++ b/src/events/render.hpp
@@ -27,11 +27,20 @@ struct NewRenderEvent
GLuint normal;
unsigned int vertex;
+ NewRenderEvent() = default;
NewRenderEvent(GLuint _vbo, GLuint _tex,
GLuint _normal, unsigned int _vertex) :
vbo(_vbo), tex(_tex), normal(_normal), vertex(_vertex) {}
};
+struct DelRenderEvent
+{
+ GLuint vbo;
+
+ DelRenderEvent(GLuint _vbo) :
+ vbo(_vbo) {}
+};
+
struct WorldMeshUpdateEvent
{
GLuint worldVBO;