Changed GLImage usage so it's not a pointer.