-Changes made to use with older versions of OpenGL (as low as 3.2)