nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03f31ce
)
lib/gamnit: fix constructor of `GLfloatArray`
author
Alexis Laferrière
<alexis.laf@xymus.net>
Thu, 1 Oct 2015 02:39:08 +0000
(22:39 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Mon, 5 Oct 2015 17:17:24 +0000
(13:17 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/glesv2/glesv2.nit
patch
|
blob
|
history
diff --git
a/lib/glesv2/glesv2.nit
b/lib/glesv2/glesv2.nit
index
526fc0b
..
caea237
100644
(file)
--- 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])