Some work on pixel formats
This commit is contained in:
@@ -138,7 +138,7 @@ namespace lime {
|
||||
|
||||
if (!val_is_null (bytes.mValue)) {
|
||||
|
||||
return alloc_int ((intptr_t)bytes.Bytes ());
|
||||
return alloc_float ((intptr_t)bytes.Bytes ());
|
||||
|
||||
}
|
||||
|
||||
@@ -146,6 +146,7 @@ namespace lime {
|
||||
|
||||
}
|
||||
|
||||
|
||||
value lime_byte_array_init (value inFactory, value inLen, value inResize, value inBytes) {
|
||||
|
||||
gByteArrayCreate = new AutoGCRoot (inFactory);
|
||||
|
||||
Reference in New Issue
Block a user