using opengl to load textures
fixed the duplicated icons