Fix a bug with duplicate location checking
Fix a bug with duplicate location checking

Before, if no location was specified multiple times (so set to -1),
it would see that as a duplicate location.

glium/glium