interpreter&vm: handle multi-iterator
[nit.git] / lib / glesv2 / glesv2.nit
index 526fc0b..caea237 100644 (file)
@@ -380,7 +380,10 @@ class GLfloatArray
        super CArray[Float]
        redef type NATIVE: NativeGLfloatArray
 
-       init do native_array = new NativeGLfloatArray(length)
+       redef init(length)
+       do
+               native_array = new NativeGLfloatArray(length)
+       end
 
        # Create with the content of `array`
        new from(array: Array[Float])