Skip to content

Commit

Permalink
Fixed texture pointer resolver being inlined
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-deluna committed Nov 11, 2023
1 parent 3bed4dd commit 5c9ae44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpglfw_texture.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ zend_class_entry *phpglfw_get_texture_texture2d_ce() {
return phpglfw_texture2d_ce;
}

zend_always_inline phpglfw_texture2d_object* phpglfw_texture2d_objectptr_from_zobj_p(zend_object* obj)
phpglfw_texture2d_object* phpglfw_texture2d_objectptr_from_zobj_p(zend_object* obj)
{
return (phpglfw_texture2d_object *) ((char *) (obj) - XtOffsetOf(phpglfw_texture2d_object, std));
}
Expand Down

0 comments on commit 5c9ae44

Please sign in to comment.