The ImageList example shows how to do 2D in GLXTreem.