Prepare renering for improving game with OpenGL