Removing MAGIC number

Removed 65535 and using sizeof(GLushort) to represent why we are doing this.