[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        FreeVisualInfo -- return any resources taken by GetVisualInfo. (V36)

   SYNOPSIS
        FreeVisualInfo(vi)
                       A0

        VOID FreeVisualInfo(APTR);

   FUNCTION
        FreeVisualInfo() returns any memory or other resources that
        were allocated by getvisualinfoa().  you should only call this function
        once you are done with using the gadgets (i.e. after closewindow()),
        but while the screen is still valid (i.e. before closescreen() or
        unlockpubscreen()).

   INPUTS
        vi - pointer that was obtained by calling getvisualinfoa(). this
             value may be NULL.

   SEE ALSO
        getvisualinfoa()