Fix windows bug
Merge remote-tracking branch 'ivan/opengl' into morevna
Use old interpolation method