fix variable names binding on OpenGL