# File lib/as_texture.rb, line 170
  def upload
    GLU.Build2DMipmaps(tex_target, @inform, @w, @h, @pix_format, GL::UNSIGNED_BYTE, @pixels)
  end