Sasha Szpakowski 6 months ago
parent
commit
2cc2b65358
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/modules/event/wrap_Event.cpp

+ 0 - 1
src/modules/event/wrap_Event.cpp

@@ -207,7 +207,6 @@ int w__setDefaultModalDrawCallback(lua_State *L)
 		Reference *r = new Reference(L);
 		Reference *r = new Reference(L);
 		lua_pop(L, 1);
 		lua_pop(L, 1);
 
 
-		Event::ModalDrawData data = {};
 		data.draw = drawCallback;
 		data.draw = drawCallback;
 		data.cleanup = cleanupCallback;
 		data.cleanup = cleanupCallback;
 		data.context = r;
 		data.context = r;