Updated to not use ARB extension