Merge change 24618 into eclair

* changes:
  AGL's glCompressedTexImage2D now checks the imageSize parameter.