fixing vertex shader source not compatible with version 330 (does not work with NVidia but does with AMD)