Skip to content

glad_set_pre_callback/glad_set_post_callback in "release" #132

Open
@zajo

Description

@zajo

In some applications it might be beneficial to use pre/post callbacks even in non-debug builds. I understand why the debug callbacks take the gl function arguments as ... (and they should), but in release this might affect performance. I wonder if it would be better to add an option to the generator to exclude passing the arguments when calling the callbacks? I think the signature should remain the same (with the ...), but len_args could be passed as -1?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions