Update gl_engine.cpp