Przeglądaj źródła

added GL2 in statics

Nicolas Cannasse 7 lat temu
rodzic
commit
55e5cde189
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      h3d/impl/MacroHelper.hx

+ 2 - 0
h3d/impl/MacroHelper.hx

@@ -23,6 +23,8 @@ class MacroHelper {
 			switch( f.kind ) {
 			case FFun(f):
 				if( f.expr != null ) replaceGLLoop(f.expr);
+			case FVar(_,e):
+				if( e != null ) replaceGLLoop(e);
 			default:
 			}
 		return fields;