opengl: fix usage with C++ code

Merge request reports

Loading