nanogui: Destroying pixmap
Subject:
Re: [nanogui] Re: Destroying pixmap
From:
"Greg Haerr" ####@####.####
Date:
14 Aug 2004 03:00:22 +0100
Message-Id: <060b01c481a2$6c661150$3eba46a6@winXP>
: /* nano-X does the malloc() for you if you pass it a NULL pointer */
: superpixmap = GrNewPixmap(width, height, NULL);
Aaron is correct, however note that passing a pointer
in when not running in LINK_APP_INTO_SERVER mode
isn't supported, since the pointer address won't be shared
between the client and server processes.
In any case, DestroyWindow must be used to deallocate
a pixmap regardless of the third parameter.
Regards,
Greg