Disable Ptask2MtaskCallback when using OpenGL