OpenGL

These functions manages the applications interactions with the OpenGL Context

betray_gl_context_update_func_set

void betray_gl_context_update_func_set(void (*context_func)(void));

Description: This function lets you set a function pointer that will be called if OpenGL context is lost. May not happen ever on some platforms, but should alwayss be implemented.

betray_gl_proc_address_get

void *betray_gl_proc_address_get(void);

Description: Get the proc address for OpenGL extensions