Fix for debug callbacks in GL 4.3

- simple func reader fix