Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Merged Ryan's fix, in case we need it later.
  • Loading branch information
slouken committed Oct 29, 2006
1 parent 7392956 commit 53dccdd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/video/Xext/XME/xme.c
Expand Up @@ -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: */
4 changes: 4 additions & 0 deletions src/video/Xext/extensions/xme.h
Expand Up @@ -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: */

0 comments on commit 53dccdd

Please sign in to comment.