Browse Source

added GL2 in statics

Nicolas Cannasse 7 years ago
parent
commit
55e5cde189
1 changed files with 2 additions and 0 deletions
  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;