Some work on pixel formats

This commit is contained in:
Joshua Granick
2015-05-04 15:54:50 -07:00
parent ddd77134d2
commit 2b75564951
13 changed files with 270 additions and 8 deletions

View File

@@ -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);