Progress on HL GC bindings

This commit is contained in:
Joshua Granick
2018-06-18 14:26:37 -07:00
parent 41044e641e
commit 1141005ae3
3 changed files with 2527 additions and 9 deletions

View File

@@ -238,7 +238,7 @@ namespace lime {
const int id_pixels = hl_hash_utf8 ("pixels");
const int id_pitch = hl_hash_utf8 ("pitch");
vdynamic* result = (vdynamic*)hl_alloc_dynobj ();
vdynamic* result = hl_alloc_dynamic (&hlt_dynobj);
if (SDL_LockTexture (sdlTexture, NULL, &pixels, &pitch) == 0) {