Add a method that automatically opens gamepads so they will send events
This commit is contained in:
@@ -115,7 +115,7 @@ akerr_ErrorContext *akgl_heap_release_actor(akgl_Actor *ptr)
|
||||
if ( ptr->refcount == 0 ) {
|
||||
for ( i = 0; i < AKGL_ACTOR_MAX_CHILDREN; i++ ) {
|
||||
if ( ptr->children[i] != NULL ) {
|
||||
CATCH_AND_RETURN(errctx, akgl_heap_release_actor(ptr->children[i]));
|
||||
PASS(errctx, akgl_heap_release_actor(ptr->children[i]));
|
||||
}
|
||||
}
|
||||
SDL_ClearProperty(AKGL_REGISTRY_ACTOR, (char *)&ptr->name);
|
||||
|
||||
Reference in New Issue
Block a user