Commit c5557f3a authored by Sam Lantinga's avatar Sam Lantinga

Merged Ryan's fix, in case we need it later.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402216
parent 28c9fb92
......@@ -408,4 +408,14 @@ XiGMiscFullScreen(Display * dpy, int screen, XID window, XID cmap)
return (rep.success ? xTrue : xFalse);
}
/* SDL addition from Ryan: free memory used by xme. */
void
XiGMiscDestroy(void)
{
if (xigmisc_info) {
XextDestroyExtension(xigmisc_info);
xigmisc_info = NULL;
}
}
/* vi: set ts=4 sw=4 expandtab: */
......@@ -38,5 +38,9 @@ extern int XiGMiscQueryResolutions(Display * dpy, int screen, int view,
XiGMiscResolutionInfo ** presolutions);
extern void XiGMiscChangeResolution(Display * dpy, int screen, int view,
int width, int height, int refresh);
/* SDL addition from Ryan: free memory used by xme. */
extern void XiGMiscDestroy(void);
#endif /* _XME_H_INCLUDED */
/* vi: set ts=4 sw=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment