aboutsummaryrefslogtreecommitdiffstats
path: root/src/events
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2022-11-15 20:40:37 -0500
committerClyne Sullivan <clyne@bitgloo.com>2022-11-15 20:40:37 -0500
commitbe993f55f5d93150b8b418b031d2e9c8d88978b2 (patch)
treeadbd8cdc4b5b6c55679219fde46e2a1231253d10 /src/events
parent38b18b8bdaf0cd4f4f7b72ade4b3f27f7363eab3 (diff)
allow lua to create dialog box
Diffstat (limited to 'src/events')
-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;