X-Git-Url: http://nitlanguage.org diff --git a/lib/glesv2/glesv2.nit b/lib/glesv2/glesv2.nit index 526fc0b..caea237 100644 --- a/lib/glesv2/glesv2.nit +++ b/lib/glesv2/glesv2.nit @@ -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])