Run ON GL call C++ code